[docs] [issue16155] Some minor doc fixes in Doc/faq
report at bugs.python.org
Sun Oct 7 14:35:05 CEST 2012
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 at bugs.python.org>
More information about the docs