Commit c1a4a047 authored by Jack Jansen's avatar Jack Jansen

Adapted to new standard for initmodule() routine: don't call

Py_FatalError on errors.
parent 7e0c0050
......@@ -65,8 +65,7 @@ class Module(GeneratorGroup):
Output(""" PyDict_SetItemString(d, "Error", %s) != 0)""",
self.errorname)
IndentLevel()
Output("""Py_FatalError("can't initialize %s.Error");""",
self.name)
Output("""return;""")
DedentLevel()
for tp in self.typeobjects:
tp.outputTypeObjectInitializer()
......
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