[Python-checkins] cpython (merge 3.5 -> default): Issue #26316: Merge Arg Clinic fix from 3.5
martin.panter
python-checkins at python.org
Sat Feb 13 22:25:44 EST 2016
https://hg.python.org/cpython/rev/6c122e4e1cb2
changeset: 100239:6c122e4e1cb2
parent: 100237:23297d5bbd29
parent: 100238:aec2eae8933e
user: Martin Panter <vadmium+py at gmail.com>
date: Sun Feb 14 03:25:48 2016 +0000
summary:
Issue #26316: Merge Arg Clinic fix from 3.5
files:
Misc/NEWS | 2 ++
Tools/clinic/clinic.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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 --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
--- 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')
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list