Commit 70120e20 authored by Victor Stinner's avatar Victor Stinner

#8603: Add environb to os.__all__

parent 056cb93e
......@@ -533,7 +533,8 @@ if supports_bytes_environ:
The optional second argument can specify an alternate default.
key, default and the result are bytes."""
return environb.get(key, default)
__all__.append("getenvb")
__all__.extend(("environb", "getenvb"))
def fsencode(value):
"""Encode value for use in the file system, environment variables
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment