
report at bugs
May 3, 2012, 3:18 PM
Views: 42
Permalink
|
|
[issue14717] In generator's .close() docstring there is one argument
|
|
New submission from py.user <bugzilla-mail-box [at] yandex>: >>> 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 [at] pytho components: Documentation messages: 159882 nosy: docs [at] pytho, py.user priority: normal severity: normal status: open title: In generator's .close() docstring there is one argument versions: Python 3.2 _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue14717> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|