added magic methods for classes with object

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

No files matched your search

+2 -1
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