[issue14717] In generator's .close() docstring there is one argument

2012-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset b8c1cabcd115 by Benjamin Peterson in branch '3.2': close() doesn't take any args (closes #14717) http://hg.python.org/cpython/rev/b8c1cabcd115 New changeset b2031eb95dd9 by Benjamin Peterson in branch '2.7': close() doesn't take any args (closes #1

[issue14717] In generator's .close() docstring there is one argument

2012-05-03 Thread py.user
New submission from py.user : >>> g >>> print(g.close.__doc__) close(arg) -> raise GeneratorExit inside generator. >>> g.close(1) Traceback (most recent call last): File "", line 1, in TypeError: close() takes no arguments (1 given) >>> -- assignee: docs@python components: Documentat