mirror of
https://github.com/python/cpython.git
synced 2026-01-04 06:22:20 +00:00
gh-132346: Docs: Clarify that reference counts aren't stable between versions (GH-132352)
This commit is contained in:
parent
9e5cebd56d
commit
3dbe02ccd3
1 changed files with 5 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue