Oct. 7, 2012
12:35 p.m.
Chris Jerdonek added the comment:
it does not seem to pick the whitespace in the docs and does not match - Doc/faq/general.rst
Can you provide a link to the line (or one of the lines) in question so it's easier to see what you are referring to?
os.path.isdir returns True or False, not 0 or 1 as in the docs
I think there is a doctest directive to make 1 acceptable for True and vice versa, but it's generally better if the docs match what Python actually returns (for that version of Python). ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16155> _______________________________________