Pekka Karjalainen wrote:

> Suppose I had no idea what sys.stdout.closed was and wanted to find out.
> Where would I look it up?

>>> help(sys.stdout)
...
 |  closed = <attribute 'closed' of 'file' objects>
 |      True if the file is closed
...

in case anyone feels like hacking, support for something like

>>> help(sys.stdout, "closed")

might be useful, I think.

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to