forked from VimPlug/jedi
Use __str__ instead of to_string
This commit is contained in:
@@ -2,7 +2,7 @@ from jedi._compatibility import Parameter
|
||||
|
||||
|
||||
class _SignatureMixin(object):
|
||||
def to_string(self):
|
||||
def __str__(self):
|
||||
def param_strings():
|
||||
is_positional = False
|
||||
is_kw_only = False
|
||||
@@ -19,7 +19,7 @@ class _SignatureMixin(object):
|
||||
yield '*'
|
||||
is_kw_only = True
|
||||
|
||||
yield n.to_string()
|
||||
yield str(n)
|
||||
|
||||
if is_positional:
|
||||
yield '/'
|
||||
|
||||
Reference in New Issue
Block a user