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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-12 00:08:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-12 00:08:15 +0300
commitd21f44546951a29cea5524fcd2147e08de996c7d (patch)
treec34d1c61efe627fe30053eefd2085b32f0127b49 /source/blender/python/intern/bpy_app_translations.c
parent7952ed872acceafbfec9e161b48f16059cf31804 (diff)
PyAPI: remove Python 3.7x compatibility code
This removes Python version checks needed to build with 3.8+ and 3.7x. Ref D10381
Diffstat (limited to 'source/blender/python/intern/bpy_app_translations.c')
-rw-r--r--source/blender/python/intern/bpy_app_translations.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c
index ee64d0a409c..56fc3efc090 100644
--- a/source/blender/python/intern/bpy_app_translations.c
+++ b/source/blender/python/intern/bpy_app_translations.c
@@ -795,11 +795,7 @@ static PyTypeObject BlenderAppTranslationsType = {
/* methods */
/* No destructor, this is a singleton! */
NULL, /* tp_dealloc */
-#if PY_VERSION_HEX >= 0x03080000
- 0, /* tp_vectorcall_offset */
-#else
- (printfunc)NULL, /* printfunc tp_print */
-#endif
+ 0, /* tp_vectorcall_offset */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
NULL,