[docs] [issue28242] os.environ.get documentation missing
Dennis Jensen
report at bugs.python.org
Wed Sep 21 11:26:21 EDT 2016
New submission from Dennis Jensen:
I was encountering what seemed to be odd behavior from os.environ.get() from what I could find out about it and so I tried to locate the actual documentation on how it is supposed to be used now. However, all I can find is a minor reference to os.environ. There appears to be no documentation on os.environ.get() and/or any other methods of this sort associated with os.environ. The alternate functionality os.getenv() is documented but this is not supposed to work the same as os.environ.get() Still the behavior that I encountered is that it seems that either os.environ.get()) has been changed and/or it is now just simply a proxy for os.getenv() -- as these two seem to function the same way now. Note: From what I was able to discern about how os.environ.get() worked is that it accepts only 1 parameter and if the item does not exist it throws an error -- while os.getenv() takes 2 parameters and does not throw an error if the item does not exist.
----------
assignee: docs at python
components: Documentation
messages: 277159
nosy: DennisJensen, docs at python
priority: normal
severity: normal
status: open
title: os.environ.get documentation missing
type: resource usage
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28242>
_______________________________________
More information about the docs
mailing list