[Python-checkins] python/dist/src/Misc cheatsheet,1.9,1.10
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Fri Sep 10 14:59:28 CEST 2004
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30655
Modified Files:
cheatsheet
Log Message:
Typo fix: 'comparisions' is not a word
Index: cheatsheet
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/cheatsheet,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cheatsheet 31 Aug 2004 13:43:19 -0000 1.9
+++ cheatsheet 10 Sep 2004 12:59:25 -0000 1.10
@@ -248,7 +248,7 @@
Notes :
Comparison behavior can be overridden for a given class by defining special
method __cmp__.
- The above comparisions return True or False which are of type bool
+ The above comparisons return True or False which are of type bool
(a subclass of int) and behave exactly as 1 or 0 except for their type and
that they print as True or False instead of 1 or 0.
(1) X < Y < Z < W has expected meaning, unlike C
More information about the Python-checkins
mailing list