1
0
forked from VimPlug/jedi

added magic methods for classes with object

This commit is contained in:
David Halter
2012-11-18 22:52:09 +01:00
parent 932749b8e8
commit c1c2437fec
2 changed files with 2 additions and 3 deletions

View File

@@ -245,8 +245,6 @@ class Parser(CachedModule):
stmts = {}
members = {}
for n in names:
if '__' in n and n not in mixin_funcs:
continue
try:
# this has a builtin_function_or_method
exe = getattr(scope, n)

View File

@@ -1316,7 +1316,8 @@ class PyFuzzyParser(object):
if annotation:
param.add_annotation(annotation)
if param:
# params without vars are usually syntax errors.
if param and (param.set_vars or param.used_vars):
param.position_nr = pos
names.append(param)
pos += 1