Fix typo in docstring

This commit is contained in:
Maximilian Albert 2018-09-21 17:11:15 +01:00
parent f02dbaf97f
commit 9b382ed16c
1 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,8 @@ class MonkeyPatch(object):
self.setitem(os.environ, name, value)
def delenv(self, name, raising=True):
""" Delete ``name`` from the environment. Raise KeyError it does not
exist.
""" Delete ``name`` from the environment. Raise KeyError if it does
not exist.
If ``raising`` is set to False, no exception will be raised if the
environment variable is missing.