lo and behold - reversed is implemented - the force is strong with this one. fixes #24

This commit is contained in:
Dave Halter
2014-03-11 11:04:00 +01:00
parent 6c5e91da69
commit db1b73d423
6 changed files with 34 additions and 9 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import os
from jedi._compatibility import builtins as _builtins
from jedi import debug
from jedi.parser.representation import Base
from jedi.parser.representation import Base, IsScope
from jedi.cache import underscore_memoization
from jedi.evaluate.sys_path import get_sys_path
from jedi.parser.representation import Param
@@ -273,7 +273,7 @@ def _parse_function_doc(doc):
return param_str, ret
class Builtin(CompiledObject):
class Builtin(CompiledObject, IsScope):
def get_defined_names(self):
# Filter None, because it's really just a keyword, nobody wants to
# access it.