Jakub Wilk added the comment: + raise TypeError("sub() takes from 2 to 4 positional arguments " + "but %d were given" % (4 + len(args)))
It's actually 3 to 5 for sub() and subn(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11957> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com