Skip to content

Commit 8883c93

Browse files
Fix generate_global_scripts.py.
1 parent f0dcb29 commit 8883c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/build/generate_global_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def get_identifiers_and_strings() -> 'tuple[set[str], dict[str, str]]':
438438
if string not in strings:
439439
strings[string] = name
440440
elif name != strings[string]:
441-
raise ValueError(f'string mismatch for {name!r} ({string!r} != {strings[name]!r}')
441+
raise ValueError(f'name mismatch for string {string!r} ({name!r} != {strings[string]!r}')
442442
overlap = identifiers & set(strings.keys())
443443
if overlap:
444444
raise ValueError(

0 commit comments

Comments
 (0)