This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients amaury.forgeotdarc, belopolsky, mark.dickinson, rhettinger, stutzbach
Date 2010-07-03.18:17:51
SpamBayes Score 0.0019272037
Marked as misclassified No
Message-id <1278181074.0.0.30328907739.issue9137@psf.upfronthosting.co.za>
In-reply-to
Content
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 ()
...
History
Date User Action Args
2010-07-03 18:17:54belopolskysetrecipients: + belopolsky, rhettinger, amaury.forgeotdarc, mark.dickinson, stutzbach
2010-07-03 18:17:54belopolskysetmessageid: <1278181074.0.0.30328907739.issue9137@psf.upfronthosting.co.za>
2010-07-03 18:17:52belopolskylinkissue9137 messages
2010-07-03 18:17:51belopolskycreate