diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 28d8c53b9d6..63bacd3dd11 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2073,8 +2073,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`. .. _os-miscfunc: