diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-02-09 05:07:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-09 05:10:34 +0300 |
commit | 7262ac6202eb9258293473f35a24f375f9d6f635 (patch) | |
tree | 1fb155adace59f89715f293a5b381fd6ef07c5a5 /source | |
parent | 191b8951f7afae26117cc5386b979557b84dc437 (diff) |
Fix T61332: Python3 syntax errors
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/simple_enum_gen.py | 6 |
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)) |