X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6316e293ac30a2837ec20eba289fd28a2a18cf89..154b98579d3904a042fd3e02a9d77a76be63b36c:/blib2to3/pygram.pyi 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: ...