UtilitiesPython2/Pep257CheckerPy2.py

changeset 2952
94fc661a54a2
parent 2949
e8f41288a688
child 2961
e4e2efb4846a
diff -r 2cef28b12399 -r 94fc661a54a2 UtilitiesPython2/Pep257CheckerPy2.py
--- a/UtilitiesPython2/Pep257CheckerPy2.py	Sat Sep 28 17:27:43 2013 +0200
+++ b/UtilitiesPython2/Pep257CheckerPy2.py	Sat Sep 28 17:40:42 2013 +0200
@@ -1051,8 +1051,8 @@
                     if line.strip().startswith(("@param", "@keyparam")):
                         at, name = line.strip().split(None, 2)[:2]
                         if at == "@keyparam":
-                            kwargs.append(name)
-                        args.append(name)
+                            kwargs.append(name.lstrip("*"))
+                        args.append(name.lstrip("*"))
                 
                 # do the checks
                 for name in kwNames:

eric ide

mercurial