Skip to content

Commit 8924b0f

Browse files
committed
Update generated files
Fix script name in Lib/test/test_stable_abi_ctypes.py
1 parent 8f2ffe1 commit 8924b0f

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

Lib/test/test_stable_abi_ctypes.py

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_testcapi_feature_macros.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by Tools/scripts/stable_abi.py
1+
// Generated by Tools/build/stable_abi.py
22

33
// Add an entry in dict `result` for each Stable ABI feature macro.
44

PC/python3dll.c

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tools/build/stable_abi.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ def gen_doc_annotations(manifest, args, outfile):
267267
def gen_ctypes_test(manifest, args, outfile):
268268
"""Generate/check the ctypes-based test for exported symbols"""
269269
write = partial(print, file=outfile)
270-
write(textwrap.dedent('''
271-
# Generated by Tools/scripts/stable_abi.py
270+
write(textwrap.dedent(f'''
271+
# Generated by {SCRIPT_NAME}
272272
273273
"""Test that all symbols of the Stable ABI are accessible using ctypes
274274
"""
@@ -341,7 +341,7 @@ def test_windows_feature_macros(self):
341341
def gen_testcapi_feature_macros(manifest, args, outfile):
342342
"""Generate/check the stable ABI list for documentation annotations"""
343343
write = partial(print, file=outfile)
344-
write('// Generated by Tools/scripts/stable_abi.py')
344+
write(f'// Generated by {SCRIPT_NAME}')
345345
write()
346346
write('// Add an entry in dict `result` for each Stable ABI feature macro.')
347347
write()

0 commit comments

Comments
 (0)