[Python-checkins] bpo-39413: os.unsetenv() is not available on Windows (GH-18108)

Victor Stinner webhook-mailer at python.org
Wed Jan 22 07:50:47 EST 2020

commit: f84f65be5602e561fef04b66bb487fbc4e560db5
branch: 3.8
author: Victor Stinner <vstinner at python.org>
committer: GitHub <noreply at github.com>
date: 2020-01-22T13:50:40+01:00

bpo-39413: os.unsetenv() is not available on Windows (GH-18108)

Update os.unsetenv() documentation: it is not available on Windows.

M Doc/library/os.rst

diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 9d2e8b2eea239..7aadbcf773b6a 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -643,7 +643,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:

More information about the Python-checkins mailing list