Ned Deily added the comment:
os.environ is documented as being a "mapping" object. The "get" method is a
standard method for all mapping objects; it's not unique to os.environ. Thus,
there is no need to specially call out "get" or any of the other "mapping"
methods and operations available with os.environ or any other example of a
mapping object. The "Built-in Types" chapter of the Python Standard Library
reference describes the standard types and their methods and operations.
resolution: -> not a bug
stage: -> resolved
status: open -> closed
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list