mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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>
This commit is contained in:
parent
e16aed63f6
commit
32d3e05fe6
3 changed files with 0 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue