#8709: mention Windows support for os.devnull.

This commit is contained in:
Georg Brandl 2010-05-21 22:03:29 +00:00
parent 93f6615a02
commit fa0fdb89e9

View file

@ -2410,8 +2410,8 @@ Higher-level operations on pathnames are defined in the :mod:`os.path` module.
.. data:: devnull .. data:: devnull
The file path of the null device. For example: ``'/dev/null'`` for POSIX. The file path of the null device. For example: ``'/dev/null'`` for
Also available via :mod:`os.path`. POSIX, ``'nul'`` for Windows. Also available via :mod:`os.path`.
.. versionadded:: 2.4 .. versionadded:: 2.4