X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6316e293ac30a2837ec20eba289fd28a2a18cf89..3bfb66971f03da39ae1f4c98c30d55e60f63d33b:/blib2to3/pygram.pyi?ds=sidebyside diff --git a/blib2to3/pygram.pyi b/blib2to3/pygram.pyi index 5f134d5..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 @@ -117,5 +119,8 @@ 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: ...