minor code cleanup
authorStefan Behnel <stefan_ml@behnel.de>
Mon, 4 Mar 2013 06:30:30 +0000 (07:30 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Mon, 4 Mar 2013 06:30:30 +0000 (07:30 +0100)
Cython/Compiler/Nodes.py

index 820da7e..5727cd9 100644 (file)
@@ -7981,8 +7981,7 @@ class CnameDecoratorNode(StatNode):
 #------------------------------------------------------------------------------------
 
 if Options.gcc_branch_hints:
-    branch_prediction_macros = \
-    """
+    branch_prediction_macros = """
 #ifdef __GNUC__
   /* Test for GCC > 2.95 */
   #if __GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))
@@ -7996,26 +7995,18 @@ if Options.gcc_branch_hints:
   #define likely(x)   (x)
   #define unlikely(x) (x)
 #endif /* __GNUC__ */
-    """
+"""
 else:
-    branch_prediction_macros = \
-    """
+    branch_prediction_macros = """
 #define likely(x)   (x)
 #define unlikely(x) (x)
-    """
-
-#get_name_predeclaration = \
-#"static PyObject *__Pyx_GetName(PyObject *dict, char *name); /*proto*/"
-
-#get_name_interned_predeclaration = \
-#"static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/"
+"""
 
 #------------------------------------------------------------------------------------
 
 printing_utility_code = UtilityCode.load_cached("Print", "Printing.c")
 printing_one_utility_code = UtilityCode.load_cached("PrintOne", "Printing.c")
 
-
 #------------------------------------------------------------------------------------
 
 # Exception raising code