summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-24 21:13:32 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-12-24 21:13:32 (GMT)
commit3edcc7832e04691bc6309915201e4461a18a0eb0 (patch)
tree4f37645d7a13d338458d173c8a0679af74fefb06 /Lib
parent5ea95249d58e298e4aa0b305e7088789803db466 (diff)
downloadcpython-3edcc7832e04691bc6309915201e4461a18a0eb0.zip
cpython-3edcc7832e04691bc6309915201e4461a18a0eb0.tar.gz
cpython-3edcc7832e04691bc6309915201e4461a18a0eb0.tar.bz2
#16832: s/integer/object/ in docs/docstring, and add whatsnew entry.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/abc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/abc.py b/Lib/abc.py
index 264c60c..0358a46 100644
--- a/Lib/abc.py
+++ b/Lib/abc.py
@@ -241,8 +241,8 @@ class ABC(metaclass=ABCMeta):
def get_cache_token():
"""Returns the current ABC cache token.
- The token is an opaque integer identifying the current version of
- the ABC cache for virtual subclasses. This number changes with
- every call to ``register()`` on any ABC.
+ The token is an opaque object (supporting equality testing) identifying the
+ current version of the ABC cache for virtual subclasses. The token changes
+ with every call to ``register()`` on any ABC.
"""
return ABCMeta._abc_invalidation_counter