From: Georg Brandl Date: Fri, 21 May 2010 22:03:29 +0000 (+0000) Subject: #8709: mention Windows support for os.devnull. X-Git-Tag: v2.7rc1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa0fdb89e98fbbec7da9891dde2647fb951888c8;p=python #8709: mention Windows support for os.devnull. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 7eff160cd4..64e04bed78 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2410,8 +2410,8 @@ Higher-level operations on pathnames are defined in the :mod:`os.path` module. .. data:: devnull - The file path of the null device. For example: ``'/dev/null'`` for POSIX. - Also available via :mod:`os.path`. + The file path of the null device. For example: ``'/dev/null'`` for + POSIX, ``'nul'`` for Windows. Also available via :mod:`os.path`. .. versionadded:: 2.4