[Python-checkins] cpython (3.3): Fix some bugs in Tools/scripts/abitype.py.

serhiy.storchaka python-checkins at python.org
Fri May 17 09:19:29 CEST 2013


http://hg.python.org/cpython/rev/26531f21bc4c
changeset: 83805:26531f21bc4c
branch: 3.3
parent: 83803:86783c4fd528
user: Serhiy Storchaka <storchaka at gmail.com>
date: Fri May 17 10:17:43 2013 +0300
summary:
 Fix some bugs in Tools/scripts/abitype.py.
files:
 Tools/scripts/abitype.py | 6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Tools/scripts/abitype.py b/Tools/scripts/abitype.py
--- a/Tools/scripts/abitype.py
+++ b/Tools/scripts/abitype.py
@@ -126,8 +126,8 @@
 'tp_cache',
 'tp_subclasses',
 'tp_weaklist',
- 'tp_del'
- 'tp_version_tag'
+ 'tp_del',
+ 'tp_version_tag',
 ]
 
 # Generate a PyType_Spec definition
@@ -194,7 +194,7 @@
 break
 start = m.start()
 end = m.end()
- name, fields = get_fields(start, m)
+ name, fields = get_fields(start, end)
 tokens[start:end] = [('',make_slots(name, fields))]
 
 # Output result to stdout
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /