Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.[color=blue][color=green][color=darkred]
>>> from sys import stdout
>>> help (stdout.closed)[/color][/color][/color]
If I do this, it gives me help on the bool object. Also:
[color=blue][color=green][color=darkred]
>>> stdout.closed._ _doc__[/color][/color][/color]
'bool(x) -> bool\n\nReturns True when the argument x is true, False
otherwise.\nThe builtins True and False are the only two instances of the
class bool.\nThe class bool is a subclass of the class int, and cannot be
subclassed.'
What's going on here? Other docstrings in sys.stdout work fine.
Pekka (uses 2.4.3 on another comp)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.[color=blue][color=green][color=darkred]
>>> from sys import stdout
>>> help (stdout.closed)[/color][/color][/color]
If I do this, it gives me help on the bool object. Also:
[color=blue][color=green][color=darkred]
>>> stdout.closed._ _doc__[/color][/color][/color]
'bool(x) -> bool\n\nReturns True when the argument x is true, False
otherwise.\nThe builtins True and False are the only two instances of the
class bool.\nThe class bool is a subclass of the class int, and cannot be
subclassed.'
What's going on here? Other docstrings in sys.stdout work fine.
Pekka (uses 2.4.3 on another comp)
Comment