Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a5e69c

Browse files
committed
Issue #26316: Merge Arg Clinic fix from 3.5
2 parents 3e48b38 + 4177e7c commit 8a5e69c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ Windows
748748
Tools/Demos
749749
-----------
750750

751+
- Issue #26316: Fix variable name typo in Argument Clinic.
752+
751753
- Issue #25440: Fix output of python-config --extension-suffix.
752754

753755
- Issue #25154: The pyvenv script has been deprecated in favour of

Tools/clinic/clinic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def linear_format(s, **kwargs):
199199
add('\n')
200200
continue
201201

202-
name, curl, trailing = trailing.partition('}')
202+
name, curly, trailing = trailing.partition('}')
203203
if not curly or name not in kwargs:
204204
add(line)
205205
add('\n')

0 commit comments

Comments
 (0)