]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39413: os.unsetenv() is not available on Windows (GH-18108)
authorVictor Stinner <vstinner@python.org>
Wed, 22 Jan 2020 12:50:40 +0000 (13:50 +0100)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 12:50:40 +0000 (13:50 +0100)
Update os.unsetenv() documentation: it is not available on Windows.

Doc/library/os.rst

index 9d2e8b2eea2392aed649a58257ffa82a066839f0..7aadbcf773b6a7ef91c6594014c8952072ab9484 100644 (file)
@@ -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: