diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-08 14:25:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 14:25:35 (GMT) |
commit | aa2ecef22a66938cba072ea57c27c63c11f79c9a (patch) | |
tree | 6bdfecd979fe6ef65368f324e06ad2e4a5be9b13 /Python/frame.c | |
parent | e5582bdbcf56033a445c7a96eca8503968771b33 (diff) | |
download | cpython-aa2ecef22a66938cba072ea57c27c63c11f79c9a.zip cpython-aa2ecef22a66938cba072ea57c27c63c11f79c9a.tar.gz cpython-aa2ecef22a66938cba072ea57c27c63c11f79c9a.tar.bz2 |
[3.12] gh-98154: Clarify Usage of "Reference Count" In the Docs (gh-107552) (#107752)
* gh-98154: Clarify Usage of "Reference Count" In the Docs (gh-107552)
PEP 683 (immortal objects) revealed some ways in which the Python documentation has been unnecessarily coupled to the implementation details of reference counts. In the end users should focus on reference ownership, including taking references and releasing them, rather than on how many reference counts an object has.
This change updates the documentation to reflect that perspective. It also updates the docs relative to immortal objects in a handful of places.
(cherry picked from commit 5dc825d504ad08d64c9d1ce578f9deebbe012604)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* Fix a typo.
---------
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Python/frame.c')
0 files changed, 0 insertions, 0 deletions