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

Fred L. Drake, Jr. report at bugs.python.org
Wed May 29 14:32:00 CEST 2013


Fred L. Drake, Jr. added the comment:

>From v5 of the patch:
+   A context managers that temporarily replaces the :data:`sys.stdin` /
+   :data:`sys.stdout` / :data:`sys.stderr` stream with :class:`io.StringIO`
+   object.

I'd go with singular nouns instead of trying to map across them with plurals:

  Context manager that temporarily replaces the named stream with an
  :class:`io.StringIO` object.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17987>
_______________________________________


More information about the docs mailing list