New submission from py.user <bugzilla-mail-...@yandex.ru>:

>>> g
<generator object f at 0xb74d257c>
>>> print(g.close.__doc__)
close(arg) -> raise GeneratorExit inside generator.
>>> g.close(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: close() takes no arguments (1 given)
>>>

----------
assignee: docs@python
components: Documentation
messages: 159882
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: In generator's .close() docstring there is one argument
versions: Python 3.2

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

Reply via email to