[docs] [issue17987] test.support.captured_stderr, captured_stdin not documented

Serhiy Storchaka report at bugs.python.org
Tue May 28 15:42:33 CEST 2013

Serhiy Storchaka added the comment:

> I'd rather see captured_stdin handled separately, perhaps with some
> additional comments in the example, to emphasize the intended usage
> pattern:

However all three functions share a description.

sys.stdin also has totally different usage pattern than sys.stdout/stderr, but it's documentation joined with documentation of all sys.std* streams.

I think functions should be mentioned in order of it's fd numbers (0 - stdin, 1
- stdout, 2 - stderr). And example for capture_stdout() looks more appropriate then for capture_stderr().


Python tracker <report at bugs.python.org>

More information about the docs mailing list