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 jwilk
Recipients eric.araujo, eric.smith, ezio.melotti, jwilk, mindauga, mmilkin, mrabarnett, python-dev, rhettinger, serhiy.storchaka, terry.reedy, umi, vstinner
Date 2017-04-14.18:55:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492196129.2.0.651189982565.issue11957@psf.upfronthosting.co.za>
In-reply-to
Content
+                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().
History
Date User Action Args
2017-04-14 18:55:29jwilksetrecipients: + jwilk, rhettinger, terry.reedy, vstinner, eric.smith, ezio.melotti, eric.araujo, mrabarnett, python-dev, mindauga, serhiy.storchaka, mmilkin, umi
2017-04-14 18:55:29jwilksetmessageid: <1492196129.2.0.651189982565.issue11957@psf.upfronthosting.co.za>
2017-04-14 18:55:29jwilklinkissue11957 messages
2017-04-14 18:55:29jwilkcreate