Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue14717] In generator's .close() docstring there is one argument
 

Index | Next | Previous | View Flat


report at bugs

May 3, 2012, 3:18 PM


Views: 72
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

Subject User Time
[issue14717] In generator's .close() docstring there is one argument report at bugs May 3, 2012, 3:18 PM
    [issue14717] In generator's .close() docstring there is one argument report at bugs May 3, 2012, 3:44 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.