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

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:18:27 +02:00 committed by GitHub
parent c4386499f6
commit fac28e4791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1163,6 +1163,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.