]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39413: os.unsetenv() is not available on Windows (GH-18108)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Jan 2020 12:56:22 +0000 (04:56 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 12:56:22 +0000 (04:56 -0800)
Update os.unsetenv() documentation: it is not available on Windows.
(cherry picked from commit f84f65be5602e561fef04b66bb487fbc4e560db5)

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/os.rst

index 10d7deaecdcaef715805930602e3d35f743dfcc4..3a5a5f97b93a630764935d2307eddbaa5a6dc98f 100644 (file)
@@ -642,7 +642,7 @@ process and user.
    calls to :func:`unsetenv` don't update ``os.environ``, so it is actually
    preferable to delete items of ``os.environ``.
 
-   .. availability:: most flavors of Unix, Windows.
+   .. availability:: most flavors of Unix.
 
 
 .. _os-newstreams: