mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@.
This commit is contained in:
parent
ac39addd72
commit
9ad417ee81
1 changed files with 3 additions and 3 deletions
|
@ -282,10 +282,10 @@ only be applied between compatible objects (i.e. IPv4 with IPv4, IPv6 with
|
|||
IPv6).
|
||||
|
||||
|
||||
Logical operators
|
||||
"""""""""""""""""
|
||||
Comparison operators
|
||||
""""""""""""""""""""
|
||||
|
||||
Address objects can be compared with the usual set of logical operators. Some
|
||||
Address objects can be compared with the usual set of comparison operators. Some
|
||||
examples::
|
||||
|
||||
>>> IPv4Address('127.0.0.2') > IPv4Address('127.0.0.1')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue