Skip to content

Commit 4177e7c

Browse files
committed
Issue #26316: Fix variable name typo in Argument Clinic
1 parent 77c9681 commit 4177e7c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Misc/NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ Windows
256256
- Issue #26065: Excludes venv from library when generating embeddable
257257
distro.
258258

259+
Tools/Demos
260+
-----------
261+
262+
- Issue #26316: Fix variable name typo in Argument Clinic.
263+
264+
259265
What's New in Python 3.5.1 final?
260266
=================================
261267

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)