mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
bpo-46712: Let generate_global_objects.py Run on Earlier Python Versions (gh-31637)
https://bugs.python.org/issue46712
This commit is contained in:
parent
3b0f1c5a71
commit
21099fc064
2 changed files with 2 additions and 2 deletions
|
@ -259,7 +259,7 @@ def generate_runtime_init(identifiers, strings):
|
|||
printer.write(after)
|
||||
|
||||
|
||||
def get_identifiers_and_strings() -> tuple[set[str], dict[str, str]]:
|
||||
def get_identifiers_and_strings() -> 'tuple[set[str], dict[str, str]]':
|
||||
identifiers = set(IDENTIFIERS)
|
||||
strings = dict(STRING_LITERALS)
|
||||
for name, string, *_ in iter_global_strings():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue