mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 11:29:28 +07:00
fix a PY-6756 PyCharm erroneously reports "too many arguments" for certain string formatting lines.
10 lines
190 B
Python
10 lines
190 B
Python
def foo(x):
|
|
return x
|
|
|
|
artist = foo(1)
|
|
print('%s' % (artist.lower()[0:10]))
|
|
|
|
unicode_content = foo(u"test")
|
|
assert isinstance(unicode_content, unicode)
|
|
print '%s...' % unicode_content[:200]
|