mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-26 07:11:08 +08:00
fixed the getattr/__getattr__ stuff
This commit is contained in:
@@ -51,7 +51,6 @@ def builtins_getattr(evaluator, obj, params):
|
||||
|
||||
for name in names:
|
||||
s = unicode, str
|
||||
print name
|
||||
if isinstance(name, compiled.PyObject) and isinstance(name.obj, s):
|
||||
stmts += evaluator.follow_path(iter([name.obj]), [obj], obj)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user