Serhiy Storchaka added the comment:

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'

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23671>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to