X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e74117f172e29e8a980e2c9de929ad50d3769150..b73ec93fa71ae8980d0743555a9f49f46528e6e1:/blib2to3/pygram.pyi?ds=sidebyside diff --git a/blib2to3/pygram.pyi b/blib2to3/pygram.pyi index 3dbc648..11bf295 100644 --- a/blib2to3/pygram.pyi +++ b/blib2to3/pygram.pyi @@ -1,6 +1,7 @@ # Stubs for lib2to3.pygram (Python 3.6) -from typing import Any +import os +from typing import Any, Union from blib2to3.pgen2.grammar import Grammar class Symbols: @@ -56,6 +57,7 @@ class python_symbols(Symbols): import_stmt: int lambdef: int listmaker: int + namedexpr_test: int not_test: int old_comp_for: int old_comp_if: int @@ -116,4 +118,9 @@ class pattern_symbols(Symbols): python_grammar: Grammar python_grammar_no_print_statement: Grammar +python_grammar_no_print_statement_no_exec_statement: Grammar +python_grammar_no_print_statement_no_exec_statement_async_keywords: Grammar +python_grammar_no_exec_statement: Grammar pattern_grammar: Grammar + +def initialize(cache_dir: Union[str, os.PathLike, None]) -> None: ...