Commit d9672974 authored by Stefan Behnel's avatar Stefan Behnel

Fix a value type for the initial assignment of Python variables: should always be a string.

parent 8ffd853e
......@@ -1379,7 +1379,7 @@ class ModuleScope(Scope):
if is_cdef:
entry.is_cglobal = 1
if entry.type.is_pyobject:
entry.init = 0
entry.init = "0"
self.var_entries.append(entry)
else:
entry.is_pyglobal = 1
......
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