summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS2
-rwxr-xr-xTools/clinic/clinic.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 895325e..b7ac0ce 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -748,6 +748,8 @@ Windows
Tools/Demos
-----------
+- Issue #26316: Fix variable name typo in Argument Clinic.
+
- Issue #25440: Fix output of python-config --extension-suffix.
- Issue #25154: The pyvenv script has been deprecated in favour of
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index 3ce3587..1d030bd 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -199,7 +199,7 @@ def linear_format(s, **kwargs):
add('\n')
continue
- name, curl, trailing = trailing.partition('}')
+ name, curly, trailing = trailing.partition('}')
if not curly or name not in kwargs:
add(line)
add('\n')