[Pyobjc-dev] TypeError message arguments wrong
Brought to you by:
ronaldoussoren
From: <bo...@pa...> - 2003-03-01 22:12:16
|
when i used the wrong number of formal parameters in an informal protocol, i got this message: TypeError: view_stringForToolTip_point_userData_() takes exactly 4 arguments (6 given) os i added a fifth argument, and got: TypeError: view_stringForToolTip_point_userData_() takes exactly 5 arguments (6 given) i think this means the 4 and the 6 are backwards, it should read: TypeError: view_stringForToolTip_point_userData_() takes exactly 6 arguments (4 given) wanted to fix it, but couldn't find where it's generated from. --bob [mudroommac:/sw/lib/python2.2] rbp% find . -type f -name '*' -exec grep -H "takes %s %d argument%s" {} \; Binary file ./config/libpython2.2.a matches Binary file ./config/libpython2.2.dylib matches |