mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Typo fix: 'comparisions' is not a word
This commit is contained in:
parent
2cc0c3008c
commit
55be9eab38
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue