diff options
author | Xie Yanbo <xieyanbo@gmail.com> | 2024-06-20 03:16:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 03:16:14 (GMT) |
commit | 656a1c81083b76b9d998c983f4329348a65985d3 (patch) | |
tree | 89ce141cfeecb4af06cd969d9170fa649aa3494c /Include | |
parent | 285f42c850da0d8ca31850088eb7b9247cbbbc71 (diff) | |
download | cpython-656a1c81083b76b9d998c983f4329348a65985d3.zip cpython-656a1c81083b76b9d998c983f4329348a65985d3.tar.gz cpython-656a1c81083b76b9d998c983f4329348a65985d3.tar.bz2 |
Fix typos in comments (#120481)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_frame.h | 2 | ||||
-rw-r--r-- | Include/internal/pycore_gc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_frame.h b/Include/internal/pycore_frame.h index 994900c..e4eb893 100644 --- a/Include/internal/pycore_frame.h +++ b/Include/internal/pycore_frame.h @@ -214,7 +214,7 @@ _PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame); /* Gets the PyFrameObject for this frame, lazily * creating it if necessary. - * Returns a borrowed referennce */ + * Returns a borrowed reference */ static inline PyFrameObject * _PyFrame_GetFrameObject(_PyInterpreterFrame *frame) { diff --git a/Include/internal/pycore_gc.h b/Include/internal/pycore_gc.h index ba8b8e1..28e34d3 100644 --- a/Include/internal/pycore_gc.h +++ b/Include/internal/pycore_gc.h @@ -346,7 +346,7 @@ struct _gc_runtime_state { Py_ssize_t long_lived_pending; /* gh-117783: Deferred reference counting is not fully implemented yet, so - as a temporary measure we treat objects using deferred referenence + as a temporary measure we treat objects using deferred reference counting as immortal. The value may be zero, one, or a negative number: 0: immortalize deferred RC objects once the first thread is created 1: immortalize all deferred RC objects immediately |