summaryrefslogtreecommitdiffstats
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-20 03:40:54 (GMT)
committerGitHub <noreply@github.com>2024-06-20 03:40:54 (GMT)
commit5d194902cbe9eff0a4f974c65479046c251664fd (patch)
treee37a23a599618571cd1f9a81e9b6b9de7cfc90f8 /Python/specialize.c
parent6b714d545f5ae7712c9246b6083c9573ad24257d (diff)
downloadcpython-5d194902cbe9eff0a4f974c65479046c251664fd.zip
cpython-5d194902cbe9eff0a4f974c65479046c251664fd.tar.gz
cpython-5d194902cbe9eff0a4f974c65479046c251664fd.tar.bz2
[3.13] Fix typos in comments (GH-120481) (#120774)
(cherry picked from commit 656a1c81083b76b9d998c983f4329348a65985d3) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Diffstat (limited to 'Python/specialize.c')
-rw-r--r--Python/specialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 9ac428c..973baf2 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -1301,7 +1301,7 @@ PyObject *descr, DescriptorClassification kind, bool is_method)
}
/* Cache entries must be unsigned values, so we offset the
* dictoffset by MANAGED_DICT_OFFSET.
- * We do the reverese offset in LOAD_ATTR_METHOD_LAZY_DICT */
+ * We do the reverse offset in LOAD_ATTR_METHOD_LAZY_DICT */
dictoffset -= MANAGED_DICT_OFFSET;
assert(((uint16_t)dictoffset) == dictoffset);
cache->dict_offset = (uint16_t)dictoffset;