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