From: Neal N. <nno...@us...> - 2003-01-09 03:59:20
|
Update of /cvsroot/pychecker/pychecker/pychecker In directory sc8-pr-cvs1:/tmp/cvs-serv4511/pychecker Modified Files: CodeChecks.py Log Message: handle class methods appropriately, oughta make a test, too lazy now, though Index: CodeChecks.py =================================================================== RCS file: /cvsroot/pychecker/pychecker/pychecker/CodeChecks.py,v retrieving revision 1.136 retrieving revision 1.137 diff -C2 -d -r1.136 -r1.137 *** CodeChecks.py 30 Dec 2002 02:35:11 -0000 1.136 --- CodeChecks.py 9 Jan 2003 03:59:17 -0000 1.137 *************** *** 329,332 **** --- 329,334 ---- if func != None : + if refClass and func.isClassMethod(): + argCount = argCount + 1 _checkFunctionArgs(code, func, method, argCount, kwArgs, check_arg_count) |