We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f91d1a0 commit 403f8a6Copy full SHA for 403f8a6
1 file changed
Include/symtable.h
@@ -71,11 +71,13 @@ DL_IMPORT(void) PySymtable_Free(struct symtable *);
71
#define DEF_STAR 2<<3 /* parameter is star arg */
72
#define DEF_DOUBLESTAR 2<<4 /* parameter is star-star arg */
73
#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 */
+#define DEF_FREE 2<<6 /* name used but not defined in nested scope */
75
#define DEF_FREE_GLOBAL 2<<7 /* free variable is actually implicit global */
76
#define DEF_FREE_CLASS 2<<8 /* free variable from class's method */
77
#define DEF_IMPORT 2<<9 /* assignment occurred via import */
78
79
+#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
80
+
81
#define TYPE_FUNCTION 1
82
#define TYPE_CLASS 2
83
#define TYPE_MODULE 3
0 commit comments