Kaydet (Commit) 369d05a6 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Fix some bugs in Tools/scripts/abitype.py.

üst e2135c61
......@@ -126,8 +126,8 @@ typeslots = [
'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 @@ if __name__ == '__main__':
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment