From 8bf713a7ca575d7a97b983358480268ce94273ee Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sat, 20 Feb 2010 21:06:12 -0800 Subject: [PATCH] Annotation fix. --- Cython/Compiler/Annotate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cython/Compiler/Annotate.py b/Cython/Compiler/Annotate.py index d252fda6..3a376097 100644 --- a/Cython/Compiler/Annotate.py +++ b/Cython/Compiler/Annotate.py @@ -143,7 +143,9 @@ function toggleDiv(id) { code = self.code[k] except KeyError: code = '' - + + code = code.replace('<', '<') + code, py_c_api_calls = py_c_api.subn(ur"\1(", code) code, pyx_c_api_calls = pyx_c_api.subn(ur"\1(", code) code, py_macro_api_calls = py_marco_api.subn(ur"\1(", code) -- 2.26.2