Author amcnabb
Recipients amcnabb
Date 2010-02-18.00:53:41
SpamBayes Score 0.0138748
Marked as misclassified No
Message-id <1266454423.14.0.91704717974.issue7954@psf.upfronthosting.co.za>
In-reply-to
Content
The detach() method has no docstring, so it's impossible to find out about it with pydoc or help().  It would be great if the description were copied from the io library documentation.

For BufferedIOBase:

"""Separate the underlying raw stream from the buffer and return it.

After the raw stream has been detached, the buffer is in an unusable state."""

For TextIOBase:

"""Separate the underlying binary buffer from the TextIOBase and return it.

After the underlying buffer has been detached, the TextIOBase is in an unusable state."""

By the way, it's odd that detaching
History
Date User Action Args
2010-02-18 00:53:43amcnabbsetrecipients: + amcnabb
2010-02-18 00:53:43amcnabbsetmessageid: <1266454423.14.0.91704717974.issue7954@psf.upfronthosting.co.za>
2010-02-18 00:53:41amcnabblinkissue7954 messages
2010-02-18 00:53:41amcnabbcreate