Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8924b0f

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

File tree

Expand file treeCollapse file tree

4 files changed

+5
-9
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-9
lines changed

‎Lib/test/test_stable_abi_ctypes.py

Copy file name to clipboardExpand all lines: Lib/test/test_stable_abi_ctypes.py
+1-3Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Modules/_testcapi_feature_macros.inc

Copy file name to clipboardExpand all lines: Modules/_testcapi_feature_macros.inc
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: PC/python3dll.c
-2Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Tools/build/stable_abi.py

Copy file name to clipboardExpand all lines: Tools/build/stable_abi.py
+3-3Lines changed: 3 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.