]> granicus.if.org Git - python/commitdiff
#8709: mention Windows support for os.devnull.
authorGeorg Brandl <georg@python.org>
Fri, 21 May 2010 22:03:29 +0000 (22:03 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 21 May 2010 22:03:29 +0000 (22:03 +0000)
Doc/library/os.rst

index 7eff160cd4f11485dafd27889eb369e4ec433cbc..64e04bed781ce766d398a01b3dbf941106da0aa2 100644 (file)
@@ -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