From df6317f8b04b353409e1ae494c4215290136692f Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 9 Jan 2014 01:56:27 +0100 Subject: [PATCH] already a lot of tests pass - time to kick it up a notch --- jedi/evaluate/compiled.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jedi/evaluate/compiled.py b/jedi/evaluate/compiled.py index 2d10b703..d901aa9f 100644 --- a/jedi/evaluate/compiled.py +++ b/jedi/evaluate/compiled.py @@ -93,6 +93,10 @@ class PyName(object): # -> just set it to None return PyObject(None, builtin) + @property + def names(self): + return [self._name] # compatibility with parser.representation.Name + def get_code(self): return self._name