Issue 16085: Minor config parser doc change (original) (raw)
Issue16085
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/60289
classification
Title: | Minor config parser doc change | ||
---|---|---|---|
Type: | enhancement | Stage: | resolved |
Components: | Documentation | Versions: | Python 3.2, Python 3.3, Python 3.4, Python 2.7 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | docs@python | Nosy List: | BreamoreBoy, docs@python, python-dev, r.david.murray |
Priority: | normal | Keywords: |
Created on 2012-09-29 13:43 by BreamoreBoy, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg171573 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2012-09-29 13:43 |
From http://docs.python.org/library/configparser.html#examples float = config.getfloat('Section1', 'float') int = config.getint('Section1', 'int') print float + int It's not a good idea to have float or int used like this in examples. Maybe my_float and my_int or sec1_float and sec_int? | ||
msg171584 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2012-09-29 18:44 |
New changeset 178e7183931e by R David Murray in branch '3.2': #16085: Don't promote shadowing builtins in the configparser example. http://hg.python.org/cpython/rev/178e7183931e New changeset 769247e6edbf by R David Murray in branch '3.3': Merge #16085: Don't promote shadowing builtins in the configparser example. http://hg.python.org/cpython/rev/769247e6edbf New changeset 1c9b0b37f097 by R David Murray in branch 'default': Merge #16085: Don't promote shadowing builtins in the configparser example. http://hg.python.org/cpython/rev/1c9b0b37f097 New changeset 1ee270d522f3 by R David Murray in branch '2.7': #16085: Don't promote shadowing builtins in the configparser example. http://hg.python.org/cpython/rev/1ee270d522f3 | ||
msg171585 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2012-09-29 18:45 |
Fixed. Thanks, Mark. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:36 | admin | set | github: 60289 |
2012-09-29 18:45:27 | r.david.murray | set | status: open -> closedversions: + Python 2.7, Python 3.2, Python 3.3, Python 3.4nosy: + r.david.murraymessages: + resolution: fixedstage: resolved |
2012-09-29 18:44:36 | python-dev | set | nosy: + python-devmessages: + |
2012-09-29 13:43:43 | BreamoreBoy | create |