Message180936
I would be very careful trying to reason by analogy there. ==, is, and javascripts === are rather different in detail, from what I understand. Nor do I see what javascript has to do with this issue :)
As far as the remaining documentation issue here, IMO to follow the convention used most often in the docs (and docstrings), the text in Chris' example should read:
If *allow_nan* is true
That is, drop the code markup and capitalization to indicate that any true value is accepted. A naive user will use True, a non-naive user will understand the implication. I know Ezio doesn't think this is worthwhile, but I disagree :) |
|
Date |
User |
Action |
Args |
2013-01-29 19:26:23 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, bob.ippolito, mark.dickinson, ggenellina, techtonik, ezio.melotti, eric.araujo, flox, chris.jerdonek, BreamoreBoy, amirouche, serhiy.storchaka, zearin |
2013-01-29 19:26:23 | r.david.murray | set | messageid: <1359487583.46.0.6244639959.issue4945@psf.upfronthosting.co.za> |
2013-01-29 19:26:23 | r.david.murray | link | issue4945 messages |
2013-01-29 19:26:23 | r.david.murray | create | |
|