mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -3,95 +3,95 @@
|
||||
import sys
|
||||
from typing import Dict
|
||||
|
||||
single_input = ... # type: int
|
||||
file_input = ... # type: int
|
||||
eval_input = ... # type: int
|
||||
decorator = ... # type: int
|
||||
decorators = ... # type: int
|
||||
decorated = ... # type: int
|
||||
single_input: int
|
||||
file_input: int
|
||||
eval_input: int
|
||||
decorator: int
|
||||
decorators: int
|
||||
decorated: int
|
||||
if sys.version_info >= (3, 5):
|
||||
async_funcdef = ... # type: int
|
||||
funcdef = ... # type: int
|
||||
parameters = ... # type: int
|
||||
typedargslist = ... # type: int
|
||||
tfpdef = ... # type: int
|
||||
varargslist = ... # type: int
|
||||
vfpdef = ... # type: int
|
||||
stmt = ... # type: int
|
||||
simple_stmt = ... # type: int
|
||||
small_stmt = ... # type: int
|
||||
expr_stmt = ... # type: int
|
||||
async_funcdef: int
|
||||
funcdef: int
|
||||
parameters: int
|
||||
typedargslist: int
|
||||
tfpdef: int
|
||||
varargslist: int
|
||||
vfpdef: int
|
||||
stmt: int
|
||||
simple_stmt: int
|
||||
small_stmt: int
|
||||
expr_stmt: int
|
||||
if sys.version_info >= (3, 6):
|
||||
annassign = ... # type: int
|
||||
testlist_star_expr = ... # type: int
|
||||
augassign = ... # type: int
|
||||
del_stmt = ... # type: int
|
||||
pass_stmt = ... # type: int
|
||||
flow_stmt = ... # type: int
|
||||
break_stmt = ... # type: int
|
||||
continue_stmt = ... # type: int
|
||||
return_stmt = ... # type: int
|
||||
yield_stmt = ... # type: int
|
||||
raise_stmt = ... # type: int
|
||||
import_stmt = ... # type: int
|
||||
import_name = ... # type: int
|
||||
import_from = ... # type: int
|
||||
import_as_name = ... # type: int
|
||||
dotted_as_name = ... # type: int
|
||||
import_as_names = ... # type: int
|
||||
dotted_as_names = ... # type: int
|
||||
dotted_name = ... # type: int
|
||||
global_stmt = ... # type: int
|
||||
nonlocal_stmt = ... # type: int
|
||||
assert_stmt = ... # type: int
|
||||
compound_stmt = ... # type: int
|
||||
annassign: int
|
||||
testlist_star_expr: int
|
||||
augassign: int
|
||||
del_stmt: int
|
||||
pass_stmt: int
|
||||
flow_stmt: int
|
||||
break_stmt: int
|
||||
continue_stmt: int
|
||||
return_stmt: int
|
||||
yield_stmt: int
|
||||
raise_stmt: int
|
||||
import_stmt: int
|
||||
import_name: int
|
||||
import_from: int
|
||||
import_as_name: int
|
||||
dotted_as_name: int
|
||||
import_as_names: int
|
||||
dotted_as_names: int
|
||||
dotted_name: int
|
||||
global_stmt: int
|
||||
nonlocal_stmt: int
|
||||
assert_stmt: int
|
||||
compound_stmt: int
|
||||
if sys.version_info >= (3, 5):
|
||||
async_stmt = ... # type: int
|
||||
if_stmt = ... # type: int
|
||||
while_stmt = ... # type: int
|
||||
for_stmt = ... # type: int
|
||||
try_stmt = ... # type: int
|
||||
with_stmt = ... # type: int
|
||||
with_item = ... # type: int
|
||||
except_clause = ... # type: int
|
||||
suite = ... # type: int
|
||||
test = ... # type: int
|
||||
test_nocond = ... # type: int
|
||||
lambdef = ... # type: int
|
||||
lambdef_nocond = ... # type: int
|
||||
or_test = ... # type: int
|
||||
and_test = ... # type: int
|
||||
not_test = ... # type: int
|
||||
comparison = ... # type: int
|
||||
comp_op = ... # type: int
|
||||
star_expr = ... # type: int
|
||||
expr = ... # type: int
|
||||
xor_expr = ... # type: int
|
||||
and_expr = ... # type: int
|
||||
shift_expr = ... # type: int
|
||||
arith_expr = ... # type: int
|
||||
term = ... # type: int
|
||||
factor = ... # type: int
|
||||
power = ... # type: int
|
||||
async_stmt: int
|
||||
if_stmt: int
|
||||
while_stmt: int
|
||||
for_stmt: int
|
||||
try_stmt: int
|
||||
with_stmt: int
|
||||
with_item: int
|
||||
except_clause: int
|
||||
suite: int
|
||||
test: int
|
||||
test_nocond: int
|
||||
lambdef: int
|
||||
lambdef_nocond: int
|
||||
or_test: int
|
||||
and_test: int
|
||||
not_test: int
|
||||
comparison: int
|
||||
comp_op: int
|
||||
star_expr: int
|
||||
expr: int
|
||||
xor_expr: int
|
||||
and_expr: int
|
||||
shift_expr: int
|
||||
arith_expr: int
|
||||
term: int
|
||||
factor: int
|
||||
power: int
|
||||
if sys.version_info >= (3, 5):
|
||||
atom_expr = ... # type: int
|
||||
atom = ... # type: int
|
||||
testlist_comp = ... # type: int
|
||||
trailer = ... # type: int
|
||||
subscriptlist = ... # type: int
|
||||
subscript = ... # type: int
|
||||
sliceop = ... # type: int
|
||||
exprlist = ... # type: int
|
||||
testlist = ... # type: int
|
||||
dictorsetmaker = ... # type: int
|
||||
classdef = ... # type: int
|
||||
arglist = ... # type: int
|
||||
argument = ... # type: int
|
||||
comp_iter = ... # type: int
|
||||
comp_for = ... # type: int
|
||||
comp_if = ... # type: int
|
||||
encoding_decl = ... # type: int
|
||||
yield_expr = ... # type: int
|
||||
yield_arg = ... # type: int
|
||||
atom_expr: int
|
||||
atom: int
|
||||
testlist_comp: int
|
||||
trailer: int
|
||||
subscriptlist: int
|
||||
subscript: int
|
||||
sliceop: int
|
||||
exprlist: int
|
||||
testlist: int
|
||||
dictorsetmaker: int
|
||||
classdef: int
|
||||
arglist: int
|
||||
argument: int
|
||||
comp_iter: int
|
||||
comp_for: int
|
||||
comp_if: int
|
||||
encoding_decl: int
|
||||
yield_expr: int
|
||||
yield_arg: int
|
||||
|
||||
sym_name = ... # type: Dict[int, str]
|
||||
sym_name: Dict[int, str]
|
||||
|
||||
Reference in New Issue
Block a user