summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 198ff7b..ef021dd 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -925,6 +925,10 @@ are always available. They are listed here in alphabetical order.
>>> list(range(1, 0))
[]
+ .. versionchanged:: 3.2
+ Testing integers for membership takes constant time instead of
+ iterating through all items.
+
.. function:: repr(object)