diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-25 11:04:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 11:04:22 (GMT) |
commit | 6c09b8de5c67406113e8d082e05c9587e35a852a (patch) | |
tree | 8b481e69329375e32fa6dfdd5773fcf2eb1f4397 /Parser | |
parent | dc07f65a53baf60d9857186294d3d7ba92d5606d (diff) | |
download | cpython-6c09b8de5c67406113e8d082e05c9587e35a852a.zip cpython-6c09b8de5c67406113e8d082e05c9587e35a852a.tar.gz cpython-6c09b8de5c67406113e8d082e05c9587e35a852a.tar.bz2 |
gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271)
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/pegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen.c b/Parser/pegen.c index 6efb547..ac428be 100644 --- a/Parser/pegen.c +++ b/Parser/pegen.c @@ -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. |