Skip to content

Commit 7e915a4

Browse files
committed
gh-101100: Update os references to pop and clear
Reference `dict` as os.environ emulates that and `collections.abc.MutableMapping` doesn't have members defined.
1 parent a1110b6 commit 7e915a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ process and user.
216216

217217
You can delete items in this mapping to unset environment variables.
218218
:func:`unsetenv` will be called automatically when an item is deleted from
219-
:data:`os.environ`, and when one of the :meth:`pop` or :meth:`clear` methods is
220-
called.
219+
:data:`os.environ`, and when one of the :meth:`~dict.pop` or
220+
:meth:`~dict.clear` methods is called.
221221

222222
.. seealso::
223223

0 commit comments

Comments
 (0)