Menu

#327 strings.strip false positive

open
nobody
None
5
2013-04-11
2013-04-11
qhfgva
No

On line 155 of python.py I belive the line should be changed from:

'strip': (types.StringType, 0, 0),
to
'strip': (types.StringType, 0, 2),

Currently this is giving false positives for expressions like:

x = foo.strip("\n") # this function can have 1 to 2 arguments

Let me know if you need more info.

Discussion


Log in to post a comment.