Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/imh-pyth.../lib/python3....
File: symbol.py
"""Non-terminal symbols of Python grammar (from "graminit.h")."""
[0] Fix | Delete
[1] Fix | Delete
# This file is automatically generated; please don't muck it up!
[2] Fix | Delete
#
[3] Fix | Delete
# To update the symbols in this file, 'cd' to the top directory of
[4] Fix | Delete
# the python source tree after building the interpreter and run:
[5] Fix | Delete
#
[6] Fix | Delete
# python3 Tools/scripts/generate_symbol_py.py Include/graminit.h Lib/symbol.py
[7] Fix | Delete
#
[8] Fix | Delete
# or just
[9] Fix | Delete
#
[10] Fix | Delete
# make regen-symbol
[11] Fix | Delete
[12] Fix | Delete
import warnings
[13] Fix | Delete
[14] Fix | Delete
warnings.warn(
[15] Fix | Delete
"The symbol module is deprecated and will be removed "
[16] Fix | Delete
"in future versions of Python",
[17] Fix | Delete
DeprecationWarning,
[18] Fix | Delete
stacklevel=2,
[19] Fix | Delete
)
[20] Fix | Delete
[21] Fix | Delete
#--start constants--
[22] Fix | Delete
single_input = 256
[23] Fix | Delete
file_input = 257
[24] Fix | Delete
eval_input = 258
[25] Fix | Delete
decorator = 259
[26] Fix | Delete
decorators = 260
[27] Fix | Delete
decorated = 261
[28] Fix | Delete
async_funcdef = 262
[29] Fix | Delete
funcdef = 263
[30] Fix | Delete
parameters = 264
[31] Fix | Delete
typedargslist = 265
[32] Fix | Delete
tfpdef = 266
[33] Fix | Delete
varargslist = 267
[34] Fix | Delete
vfpdef = 268
[35] Fix | Delete
stmt = 269
[36] Fix | Delete
simple_stmt = 270
[37] Fix | Delete
small_stmt = 271
[38] Fix | Delete
expr_stmt = 272
[39] Fix | Delete
annassign = 273
[40] Fix | Delete
testlist_star_expr = 274
[41] Fix | Delete
augassign = 275
[42] Fix | Delete
del_stmt = 276
[43] Fix | Delete
pass_stmt = 277
[44] Fix | Delete
flow_stmt = 278
[45] Fix | Delete
break_stmt = 279
[46] Fix | Delete
continue_stmt = 280
[47] Fix | Delete
return_stmt = 281
[48] Fix | Delete
yield_stmt = 282
[49] Fix | Delete
raise_stmt = 283
[50] Fix | Delete
import_stmt = 284
[51] Fix | Delete
import_name = 285
[52] Fix | Delete
import_from = 286
[53] Fix | Delete
import_as_name = 287
[54] Fix | Delete
dotted_as_name = 288
[55] Fix | Delete
import_as_names = 289
[56] Fix | Delete
dotted_as_names = 290
[57] Fix | Delete
dotted_name = 291
[58] Fix | Delete
global_stmt = 292
[59] Fix | Delete
nonlocal_stmt = 293
[60] Fix | Delete
assert_stmt = 294
[61] Fix | Delete
compound_stmt = 295
[62] Fix | Delete
async_stmt = 296
[63] Fix | Delete
if_stmt = 297
[64] Fix | Delete
while_stmt = 298
[65] Fix | Delete
for_stmt = 299
[66] Fix | Delete
try_stmt = 300
[67] Fix | Delete
with_stmt = 301
[68] Fix | Delete
with_item = 302
[69] Fix | Delete
except_clause = 303
[70] Fix | Delete
suite = 304
[71] Fix | Delete
namedexpr_test = 305
[72] Fix | Delete
test = 306
[73] Fix | Delete
test_nocond = 307
[74] Fix | Delete
lambdef = 308
[75] Fix | Delete
lambdef_nocond = 309
[76] Fix | Delete
or_test = 310
[77] Fix | Delete
and_test = 311
[78] Fix | Delete
not_test = 312
[79] Fix | Delete
comparison = 313
[80] Fix | Delete
comp_op = 314
[81] Fix | Delete
star_expr = 315
[82] Fix | Delete
expr = 316
[83] Fix | Delete
xor_expr = 317
[84] Fix | Delete
and_expr = 318
[85] Fix | Delete
shift_expr = 319
[86] Fix | Delete
arith_expr = 320
[87] Fix | Delete
term = 321
[88] Fix | Delete
factor = 322
[89] Fix | Delete
power = 323
[90] Fix | Delete
atom_expr = 324
[91] Fix | Delete
atom = 325
[92] Fix | Delete
testlist_comp = 326
[93] Fix | Delete
trailer = 327
[94] Fix | Delete
subscriptlist = 328
[95] Fix | Delete
subscript = 329
[96] Fix | Delete
sliceop = 330
[97] Fix | Delete
exprlist = 331
[98] Fix | Delete
testlist = 332
[99] Fix | Delete
dictorsetmaker = 333
[100] Fix | Delete
classdef = 334
[101] Fix | Delete
arglist = 335
[102] Fix | Delete
argument = 336
[103] Fix | Delete
comp_iter = 337
[104] Fix | Delete
sync_comp_for = 338
[105] Fix | Delete
comp_for = 339
[106] Fix | Delete
comp_if = 340
[107] Fix | Delete
encoding_decl = 341
[108] Fix | Delete
yield_expr = 342
[109] Fix | Delete
yield_arg = 343
[110] Fix | Delete
func_body_suite = 344
[111] Fix | Delete
func_type_input = 345
[112] Fix | Delete
func_type = 346
[113] Fix | Delete
typelist = 347
[114] Fix | Delete
#--end constants--
[115] Fix | Delete
[116] Fix | Delete
sym_name = {}
[117] Fix | Delete
for _name, _value in list(globals().items()):
[118] Fix | Delete
if type(_value) is type(0):
[119] Fix | Delete
sym_name[_value] = _name
[120] Fix | Delete
del _name, _value
[121] Fix | Delete
[122] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function