changeset: 100239:6c122e4e1cb2 parent: 100237:23297d5bbd29 parent: 100238:aec2eae8933e user: Martin Panter date: Sun Feb 14 03:25:48 2016 +0000 files: Misc/NEWS description: Issue #26316: Merge Arg Clinic fix from 3.5 diff -r 23297d5bbd29 -r 6c122e4e1cb2 Misc/NEWS --- a/Misc/NEWS Sat Feb 13 18:00:31 2016 -0500 +++ b/Misc/NEWS Sun Feb 14 03:25:48 2016 +0000 @@ -748,6 +748,8 @@ 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 -r 23297d5bbd29 -r 6c122e4e1cb2 Tools/clinic/clinic.py --- a/Tools/clinic/clinic.py Sat Feb 13 18:00:31 2016 -0500 +++ b/Tools/clinic/clinic.py Sun Feb 14 03:25:48 2016 +0000 @@ -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')