diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-09-10 12:59:54 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-09-10 12:59:54 (GMT) |
commit | 55be9eab3874aa93dccdfcf3df4838e25e598cc4 (patch) | |
tree | 45f00bac31a36468ac42391e0e48d0b8d8cd3061 /Misc/cheatsheet | |
parent | 2cc0c3008ca3f86ba6b9f73718fb5c3c1095d76d (diff) | |
download | cpython-55be9eab3874aa93dccdfcf3df4838e25e598cc4.zip cpython-55be9eab3874aa93dccdfcf3df4838e25e598cc4.tar.gz cpython-55be9eab3874aa93dccdfcf3df4838e25e598cc4.tar.bz2 |
Typo fix: 'comparisions' is not a word
Diffstat (limited to 'Misc/cheatsheet')
-rw-r--r-- | Misc/cheatsheet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/cheatsheet b/Misc/cheatsheet index 525772d..071f13d 100644 --- a/Misc/cheatsheet +++ b/Misc/cheatsheet @@ -248,7 +248,7 @@ is not negated object identity (2) 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 |