M7350/oe-core/meta/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch
2024-09-09 08:52:07 +00:00

16 lines
573 B
Diff

Upstream-Status: Pending
Index: Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
===================================================================
--- Pyrex-0.9.8.4.orig/Pyrex/Distutils/extension.py
+++ Pyrex-0.9.8.4/Pyrex/Distutils/extension.py
@@ -15,7 +15,7 @@ except ImportError:
warnings = None
class Extension(_Extension.Extension):
- _Extension.Extension.__doc__ + \
+ _Extension.Extension.__doc__ or "" + \
"""pyrex_include_dirs : [string]
list of directories to search for Pyrex header files (.pxd) (in
Unix form for portability)