Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
Yes, I realized that 2+ arguments would be equivalent to none, but was too lazy to handle that case. (Falling into interactive help may actually be better than an error message for some users.) Terry's solution is certainly better. Attaching issue9118a.diff. ---------- assignee: -> belopolsky resolution: -> accepted stage: patch review -> commit review versions: +Python 3.2 -Python 2.6, Python 2.7 Added file: http://bugs.python.org/file17852/issue9118a.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com