mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583)
This commit is contained in:
parent
37ebdf0a86
commit
ad106c68eb
5 changed files with 149 additions and 18 deletions
|
|
@ -10,7 +10,7 @@ extern "C" {
|
|||
|
||||
struct _mod; // Type defined in pycore_ast.h
|
||||
|
||||
typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock }
|
||||
typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock, AnnotationBlock }
|
||||
_Py_block_ty;
|
||||
|
||||
struct _symtable_entry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue