aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 381ce9b..c7c0b0e 100644
--- a/README.rst
+++ b/README.rst
@@ -279,7 +279,8 @@ Compares ``inet`` instances according to the sort order.
inet('192.0.2.0/26') < inet('192.0.2.64/26') -- returns true
inet('192.0.2.0/24') < inet('192.0.2.0/26') -- returns true
inet('192.0.2.0/26') < inet('192.0.2.1/26') -- returns true
-
+ inet('192.0.2.0/26') < inet('2001:db8::1/64') -- returns true
+ inet('2001:db8::1/64') < inet('192.0.2.0/26') -- returns false
``==`` and ``~=``
~~~~~~~~~~~~~~~~~