Message239414
| 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' |
|