Issue 14717: In generator's .close() docstring there is one argument (original) (raw)
Issue14717
Created on 2012-05-03 22:18 by py.user, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (2) | ||
|---|---|---|
| msg159882 - (view) | Author: py.user (py.user) * | Date: 2012-05-03 22:18 |
| >>> 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 "", line 1, in TypeError: close() takes no arguments (1 given) >>> | ||
| msg159885 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2012-05-03 22:44 |
| 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 #14717) http://hg.python.org/cpython/rev/b2031eb95dd9 New changeset da12cb2461d1 by Benjamin Peterson in branch 'default': merge 3.2 (#14717) http://hg.python.org/cpython/rev/da12cb2461d1 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:29 | admin | set | github: 58922 |
| 2012-05-03 22:44:39 | python-dev | set | status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved |
| 2012-05-03 22🔞34 | py.user | create |
