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

Miss Islington (bot) webhook-mailer at python.org
Wed Jan 22 07:56:27 EST 2020

commit: 570724667d37fcb160cdef2b34190dc36e28155c
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-22T04:56:22-08:00

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

Update os.unsetenv() documentation: it is not available on Windows.
(cherry picked from commit f84f65be5602e561fef04b66bb487fbc4e560db5)

Co-authored-by: Victor Stinner <vstinner at python.org>

M Doc/library/os.rst

diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 10d7deaecdcae..3a5a5f97b93a6 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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:

More information about the Python-checkins mailing list