Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e67f8e7

Browse files
Fix some bugs in Tools/scripts/abitype.py.
2 parents a07565d + 369d05a commit e67f8e7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/scripts/abitype.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ def get_fields(start, real_end):
126126
'tp_cache',
127127
'tp_subclasses',
128128
'tp_weaklist',
129-
'tp_del'
130-
'tp_version_tag'
129+
'tp_del',
130+
'tp_version_tag',
131131
]
132132

133133
# Generate a PyType_Spec definition
@@ -194,7 +194,7 @@ def make_slots(name, fields):
194194
break
195195
start = m.start()
196196
end = m.end()
197-
name, fields = get_fields(start, m)
197+
name, fields = get_fields(start, end)
198198
tokens[start:end] = [('',make_slots(name, fields))]
199199

200200
# Output result to stdout

0 commit comments

Comments
 (0)