summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/abitype.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/abitype.py')
-rw-r--r--Tools/scripts/abitype.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/scripts/abitype.py b/Tools/scripts/abitype.py
index afb104b..e35ef6a 100644
--- a/Tools/scripts/abitype.py
+++ b/Tools/scripts/abitype.py
@@ -162,7 +162,7 @@ def make_slots(name, fields):
res = []
res.append('static PyType_Slot %s_slots[] = {' % name)
# defaults for spec
- spec = { 'tp_doc':'NULL', 'tp_itemsize':'0' }
+ spec = { 'tp_itemsize':'0' }
for i, val in enumerate(fields):
if val.endswith('0'):
continue
@@ -174,7 +174,6 @@ def make_slots(name, fields):
res.append('};')
res.append('static PyType_Spec %s_spec = {' % name)
res.append(' %s,' % spec['tp_name'])
- res.append(' %s,' % spec['tp_doc'])
res.append(' %s,' % spec['tp_basicsize'])
res.append(' %s,' % spec['tp_itemsize'])
res.append(' %s,' % spec['tp_flags'])