Issue #26316: Fix variable name typo in Argument Clinic
diff --git a/Misc/NEWS b/Misc/NEWS
index 4243a05..cc2f8f4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -256,6 +256,12 @@
 - Issue #26065: Excludes venv from library when generating embeddable
   distro.
 
+Tools/Demos
+-----------
+
+- Issue #26316: Fix variable name typo in Argument Clinic.
+
+
 What's New in Python 3.5.1 final?
 =================================
 
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 @@
             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')