mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 01:38:36 +08:00
already a lot of tests pass - time to kick it up a notch
This commit is contained in:
@@ -93,6 +93,10 @@ class PyName(object):
|
|||||||
# -> just set it to None
|
# -> just set it to None
|
||||||
return PyObject(None, builtin)
|
return PyObject(None, builtin)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def names(self):
|
||||||
|
return [self._name] # compatibility with parser.representation.Name
|
||||||
|
|
||||||
def get_code(self):
|
def get_code(self):
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user