[docs] [issue12067] Doc: remove errors about mixed-type comparisons.
Chris Jerdonek
report at bugs.python.org
Sat Sep 22 08:10:58 CEST 2012
Chris Jerdonek added the comment:
Some minor comments:
-The operators ``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the
+``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the values of two
I think it reads better to start a sentence (and in this case a paragraph) with a word rather than a symbol.
-values of two objects. The objects need not have the same type. If both are
+objects. The two objects don't necessarily have to be of the same type. With
The replacement sentence seems wordier to me.
+(:meth:`__ge__()` reflects :meth:`__lt__()`, etcetera). Builtin numbers compare
+as expected, even when of different types. Builtin sequences compare
"Built-in" is hyphenated in the docs. See, for example, here:
http://docs.python.org/dev/library/functions.html
----------
nosy: +cjerdonek
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12067>
_______________________________________
More information about the docs
mailing list