diff --git a/Lib/symbol.py b/Lib/symbol.py index 679e5c8cc7e..34143b5d8e4 100755 --- a/Lib/symbol.py +++ b/Lib/symbol.py @@ -91,6 +91,7 @@ comp_for = 333 comp_if = 334 encoding_decl = 335 yield_expr = 336 +yield_arg = 337 #--end constants-- sym_name = {} @@ -104,7 +105,7 @@ def main(): import token if len(sys.argv) == 1: sys.argv = sys.argv + ["Include/graminit.h", "Lib/symbol.py"] - token.main() + token._main() if __name__ == "__main__": main() diff --git a/Misc/NEWS b/Misc/NEWS index 4da080676b2..ba8f5cff419 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -235,6 +235,8 @@ Core and Builtins Library ------- +- Issue #17132: Update symbol for "yield from" grammar changes. + - Issue #17076: Make copying of xattrs more permissive of missing FS support. Patch by Thomas Wouters.