From 4177e7c38e06fb9feec76d1cdc7db4899eb20615 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 14 Feb 2016 03:23:13 +0000 Subject: [PATCH] Issue #26316: Fix variable name typo in Argument Clinic --- Misc/NEWS | 6 ++++++ Tools/clinic/clinic.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index 4243a050f11..cc2f8f48624 100644 --- 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? ================================= diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 3ce3587db51..1d030bddd8f 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')