[3.14] gh-132346: Docs: Clarify that reference counts aren't stable between versions (GH-132352) (GH-136613)

gh-132346: Docs: Clarify that reference counts aren't stable between versions (GH-132352)
(cherry picked from commit 3dbe02ccd3)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-07-13 11:17:48 +02:00 committed by GitHub
parent e1dc08bd9a
commit 9ee72ab266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1208,6 +1208,11 @@ Glossary
:func:`sys.getrefcount` function to return the
reference count for a particular object.
In :term:`CPython`, reference counts are not considered to be stable
or well-defined values; the number of references to an object, and how
that number is affected by Python code, may be different between
versions.
regular package
A traditional :term:`package`, such as a directory containing an
``__init__.py`` file.