forked from VimPlug/jedi
removed old very strange string casts, that didn't really make sense and even though it mentioned a test, it wouldn't break after deleting it
This commit is contained in:
@@ -1210,13 +1210,7 @@ class Call(Simple):
|
||||
if self.type == Call.NAME:
|
||||
s = self.name.get_code()
|
||||
else:
|
||||
if not is_py3k and isinstance(self.name, str)\
|
||||
and "'" not in self.name:
|
||||
# This is a very rough spot, because of repr not supporting
|
||||
# unicode signs, see `test_unicode_script`.
|
||||
s = "'%s'" % unicode(self.name, 'UTF-8')
|
||||
else:
|
||||
s = '' if self.name is None else repr(self.name)
|
||||
s = '' if self.name is None else repr(self.name)
|
||||
if self.execution is not None:
|
||||
s += self.execution.get_code()
|
||||
if self.next is not None:
|
||||
|
||||
Reference in New Issue
Block a user