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.

Author chris.jerdonek
Recipients Ravi.Sinha, chris.jerdonek, docs@python, r.david.murray, terry.reedy
Date 2012-10-07.12:35:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349613305.25.0.309217074735.issue16155@psf.upfronthosting.co.za>
In-reply-to
Content
> 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).
History
Date User Action Args
2012-10-07 12:35:05chris.jerdoneksetrecipients: + chris.jerdonek, terry.reedy, r.david.murray, docs@python, Ravi.Sinha
2012-10-07 12:35:05chris.jerdoneksetmessageid: <1349613305.25.0.309217074735.issue16155@psf.upfronthosting.co.za>
2012-10-07 12:35:05chris.jerdoneklinkissue16155 messages
2012-10-07 12:35:04chris.jerdonekcreate