mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Patch by Ivan Levkivskyi.
This commit is contained in:
parent
09ad17810c
commit
f8cb8a16a3
45 changed files with 3242 additions and 1308 deletions
|
@ -79,6 +79,7 @@ PyInit__symtable(void)
|
|||
PyModule_AddIntMacro(m, DEF_FREE_CLASS);
|
||||
PyModule_AddIntMacro(m, DEF_IMPORT);
|
||||
PyModule_AddIntMacro(m, DEF_BOUND);
|
||||
PyModule_AddIntMacro(m, DEF_ANNOT);
|
||||
|
||||
PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock);
|
||||
PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue