diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2024-06-12 13:23:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 13:23:45 (GMT) |
commit | 32d3e05fe67d43f7285e582a87e65374cf7c2972 (patch) | |
tree | 59d2ab9bfc9a82f820c876a9f728c888c807ba1c /Include | |
parent | e16aed63f64b18a26859eff3de976ded373e66b8 (diff) | |
download | cpython-32d3e05fe67d43f7285e582a87e65374cf7c2972.zip cpython-32d3e05fe67d43f7285e582a87e65374cf7c2972.tar.gz cpython-32d3e05fe67d43f7285e582a87e65374cf7c2972.tar.bz2 |
gh-120029: remove unused macros in ``symtable.c`` (#120222)
Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_symtable.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/internal/pycore_symtable.h b/Include/internal/pycore_symtable.h index 1be48ed..519505c 100644 --- a/Include/internal/pycore_symtable.h +++ b/Include/internal/pycore_symtable.h @@ -143,7 +143,6 @@ extern PyObject* _Py_Mangle(PyObject *p, PyObject *name); #define DEF_PARAM (2<<1) /* formal parameter */ #define DEF_NONLOCAL (2<<2) /* nonlocal stmt */ #define USE (2<<3) /* name is used */ -#define DEF_FREE (2<<4) /* name used but not defined in nested block */ #define DEF_FREE_CLASS (2<<5) /* free variable from class's method */ #define DEF_IMPORT (2<<6) /* assignment occurred via import */ #define DEF_ANNOT (2<<7) /* this name is annotated */ @@ -166,9 +165,6 @@ extern PyObject* _Py_Mangle(PyObject *p, PyObject *name); #define FREE 4 #define CELL 5 -#define GENERATOR 1 -#define GENERATOR_EXPRESSION 2 - // Used by symtablemodule.c extern struct symtable* _Py_SymtableStringObjectFlags( const char *str, |