bpo-39759: Fix after review
This commit is contained in:
parent
d4064b688f
commit
6a1faeeaeb
|
@ -217,8 +217,7 @@ process and user.
|
|||
.. function:: getenv(key, default=None)
|
||||
|
||||
Return the value of the environment variable *key* if it exists, or
|
||||
*default* if it doesn't. Only *key* needs to be a string as it is used to
|
||||
lookup the value in os.environ.
|
||||
*default* if it doesn't. *key* must be a string.
|
||||
|
||||
On Unix, keys and values are decoded with :func:`sys.getfilesystemencoding`
|
||||
and ``'surrogateescape'`` error handler. Use :func:`os.getenvb` if you
|
||||
|
|
Loading…
Reference in New Issue