Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99858b5

Browse files
committed
add DEF_BOUND
1 parent 7840a9c commit 99858b5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Include/symtable.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,13 @@ DL_IMPORT(void) PySymtable_Free(struct symtable *);
7171
#define DEF_STAR 2<<3 /* parameter is star arg */
7272
#define DEF_DOUBLESTAR 2<<4 /* parameter is star-star arg */
7373
#define DEF_INTUPLE 2<<5 /* name defined in tuple in parameters */
74-
#define DEF_FREE 2<<6 /* name used by not defined in nested scope */
74+
#define DEF_FREE 2<<6 /* name used but not defined in nested scope */
7575
#define DEF_FREE_GLOBAL 2<<7 /* free variable is actually implicit global */
7676
#define DEF_FREE_CLASS 2<<8 /* free variable from class's method */
7777
#define DEF_IMPORT 2<<9 /* assignment occurred via import */
7878

79+
#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
80+
7981
#define TYPE_FUNCTION 1
8082
#define TYPE_CLASS 2
8183
#define TYPE_MODULE 3

0 commit comments

Comments
 (0)