summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Include/internal
diff options
context:
space:
mode:
authorshadchin <[email protected]>2024-04-28 21:17:44 +0300
committershadchin <[email protected]>2024-04-28 21:25:54 +0300
commita55d99a3eb72f90355bc146baeda18aa7eb97352 (patch)
treeb17cfed786effe8b81bba022239d6729f716fbeb /contrib/tools/python3/Include/internal
parent67bf49d08acf1277eff4c336021ac22d964bb4c4 (diff)
Update Python 3 to 3.12.3
7d09de7d8b99ea2be554ef0fc61276942ca9c2e1
Diffstat (limited to 'contrib/tools/python3/Include/internal')
-rw-r--r--contrib/tools/python3/Include/internal/pycore_instruments.h2
-rw-r--r--contrib/tools/python3/Include/internal/pycore_symtable.h24
2 files changed, 13 insertions, 13 deletions
diff --git a/contrib/tools/python3/Include/internal/pycore_instruments.h b/contrib/tools/python3/Include/internal/pycore_instruments.h
index 87f70d2dc0d..b8591563d76 100644
--- a/contrib/tools/python3/Include/internal/pycore_instruments.h
+++ b/contrib/tools/python3/Include/internal/pycore_instruments.h
@@ -40,7 +40,7 @@ extern "C" {
#define PY_MONITORING_EVENT_RERAISE 14
-/* Ancilliary events */
+/* Ancillary events */
#define PY_MONITORING_EVENT_C_RETURN 15
#define PY_MONITORING_EVENT_C_RAISE 16
diff --git a/contrib/tools/python3/Include/internal/pycore_symtable.h b/contrib/tools/python3/Include/internal/pycore_symtable.h
index c8e0578a231..b2fef177204 100644
--- a/contrib/tools/python3/Include/internal/pycore_symtable.h
+++ b/contrib/tools/python3/Include/internal/pycore_symtable.h
@@ -109,18 +109,18 @@ extern PyObject* _Py_Mangle(PyObject *p, PyObject *name);
/* Flags for def-use information */
-#define DEF_GLOBAL 1 /* global stmt */
-#define DEF_LOCAL 2 /* assignment in code block */
-#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 */
-#define DEF_COMP_ITER 2<<8 /* this name is a comprehension iteration variable */
-#define DEF_TYPE_PARAM 2<<9 /* this name is a type parameter */
-#define DEF_COMP_CELL 2<<10 /* this name is a cell in an inlined comprehension */
+#define DEF_GLOBAL 1 /* global stmt */
+#define DEF_LOCAL 2 /* assignment in code block */
+#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 */
+#define DEF_COMP_ITER (2<<8) /* this name is a comprehension iteration variable */
+#define DEF_TYPE_PARAM (2<<9) /* this name is a type parameter */
+#define DEF_COMP_CELL (2<<10) /* this name is a cell in an inlined comprehension */
#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)