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.


https://docs.python.org/3/library/os.html#os.environ
https://docs.python.org/3/library/stdtypes.html#mapping-types-dict
https://docs.python.org/3/library/stdtypes.html

----------
nosy: +ned.deily
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to