[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

Terry J. Reedy report at bugs.python.org
Fri Jun 24 17:47:53 EDT 2016


Terry J. Reedy added the comment:

Doing what the doc says is not a bug. The doc being obsolete in saying 'list' (which was once true) instead of the now correct 'iterable' is. The 3.6 ConfigParser.__doc___ also says 'list', so both docstrings and docs for all current versions should be fixed.

----------
components: +Documentation
nosy: +terry.reedy
versions: +Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27351>
_______________________________________


More information about the Python-bugs-list mailing list