Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/simple_enum_gen.py')
-rw-r--r--source/blender/python/simple_enum_gen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/simple_enum_gen.py b/source/blender/python/simple_enum_gen.py
index 3a9c1847fc7..861701f4b4c 100644
--- a/source/blender/python/simple_enum_gen.py
+++ b/source/blender/python/simple_enum_gen.py
@@ -39,8 +39,8 @@ defs = """
SPACEICONMAX
"""
-print '\tmod = PyModule_New("dummy");'
-print '\tPyModule_AddObject(submodule, "key", mod);'
+print('\tmod = PyModule_New("dummy");')
+print('\tPyModule_AddObject(submodule, "key", mod);')
for d in defs.split('\n'):
@@ -60,4 +60,4 @@ for d in defs.split('\n'):
val = w[0]
py_val = w[0]
- print '\tPyModule_AddObject(mod, "%s", PyLong_FromSize_t(%s));' % (val, py_val)
+ print('\tPyModule_AddObject(mod, "%s", PyLong_FromSize_t(%s));' % (val, py_val))