summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch
blob: c58c3280e212059268f4315140b38693c0aedc08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)