mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.13] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122275)
(cherry picked from commit 6c09b8de5c
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
984f8aaa2f
commit
83bfc5bd8b
2 changed files with 4 additions and 4 deletions
|
@ -341,7 +341,7 @@ _PyPegen_is_memoized(Parser *p, int type, void *pres)
|
|||
|
||||
for (Memo *m = t->memo; m != NULL; m = m->next) {
|
||||
if (m->type == type) {
|
||||
#if defined(PY_DEBUG)
|
||||
#if defined(Py_DEBUG)
|
||||
if (0 <= type && type < NSTATISTICS) {
|
||||
long count = m->mark - p->mark;
|
||||
// A memoized negative result counts for one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue