Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

Just a nitpick: I think the code will be clearer if you switch on args' length 
rather than catch IndexError:


nargs = len(args)
if nargs > 2:
   ...

self = args[0]
other = args[1] if nargs == 2 else ()
...

----------
nosy: +belopolsky

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9137>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to