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 serhiy.storchaka
Recipients eric.araujo, georg.brandl, python-dev, serhiy.storchaka, terry.reedy
Date 2015-03-27.16:13:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427472795.23.0.691188620104.issue23671@psf.upfronthosting.co.za>
In-reply-to
Content
It matches error messages generated by builtin unbound methods.

>>> str.format()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: descriptor 'format' of 'str' object needs an argument

It would be incorrect to say "substitute method wants x y z", because the substitute method doesn't need any arguments.

>>> string.Template('spam').substitute()
'spam'
History
Date User Action Args
2015-03-27 16:13:15serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, terry.reedy, eric.araujo, python-dev
2015-03-27 16:13:15serhiy.storchakasetmessageid: <1427472795.23.0.691188620104.issue23671@psf.upfronthosting.co.za>
2015-03-27 16:13:15serhiy.storchakalinkissue23671 messages
2015-03-27 16:13:15serhiy.storchakacreate