]> granicus.if.org Git - python/commitdiff
Issue #26316: Fix variable name typo in Argument Clinic
authorMartin Panter <vadmium+py@gmail.com>
Sun, 14 Feb 2016 03:23:13 +0000 (03:23 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 14 Feb 2016 03:23:13 +0000 (03:23 +0000)
Misc/NEWS
Tools/clinic/clinic.py

index 4243a050f111f2423a1b59cb83a68b5f3fe3a6c1..cc2f8f4862418691f4dbc6d0c4e9c3e6c125c32c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -256,6 +256,12 @@ Windows
 - 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?
 =================================
 
index 3ce3587db51bd5d57c433dd7a8ab429c535d6d53..1d030bddd8fb3ecce3c97280bae76890b08d7b1d 100755 (executable)
@@ -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')