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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to