Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a07565d + 369d05a commit e67f8e7Copy full SHA for e67f8e7
1 file changed
Tools/scripts/abitype.py
@@ -126,8 +126,8 @@ def get_fields(start, real_end):
126
'tp_cache',
127
'tp_subclasses',
128
'tp_weaklist',
129
- 'tp_del'
130
- 'tp_version_tag'
+ 'tp_del',
+ 'tp_version_tag',
131
]
132
133
# Generate a PyType_Spec definition
@@ -194,7 +194,7 @@ def make_slots(name, fields):
194
break
195
start = m.start()
196
end = m.end()
197
- name, fields = get_fields(start, m)
+ name, fields = get_fields(start, end)
198
tokens[start:end] = [('',make_slots(name, fields))]
199
200
# Output result to stdout
0 commit comments