From 45f2a56e38ebf9af7f1f4d75d0442ae45e5944a7 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Wed, 7 May 2008 13:07:34 -0700 Subject: [PATCH] Temporary fix for annotation unicode incompatabilities. --- Cython/Compiler/Annotate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Annotate.py b/Cython/Compiler/Annotate.py index c377d04d..21ad7b3d 100644 --- a/Cython/Compiler/Annotate.py +++ b/Cython/Compiler/Annotate.py @@ -143,7 +143,7 @@ function toggleDiv(id) { f.write(" %d: " % k) for c, cc, html in special_chars: - line = line.replace(cc, html) + line = str(line).replace(cc, html) f.write(line.rstrip()) f.write('\n') -- 2.26.2