diff --git a/Doc/library/os.rst b/Doc/library/os.rst index eb48bf1913b..970725a1c50 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2194,8 +2194,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: