From e751a61a0d6da1da019c7d2f045754c604b5d504 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 14 Aug 2008 02:34:23 -0700 Subject: [PATCH] Fix annotation. --- Cython/Compiler/Annotate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Annotate.py b/Cython/Compiler/Annotate.py index 707f6bd0..5f6ca417 100644 --- a/Cython/Compiler/Annotate.py +++ b/Cython/Compiler/Annotate.py @@ -17,8 +17,8 @@ special_chars = [(u'<', u'\xF0', u'<'), class AnnotationCCodeWriter(CCodeWriter): - def __init__(self, create_from=None, buffer=None): - CCodeWriter.__init__(self, create_from, buffer) + def __init__(self, create_from=None, buffer=None, copy_formatting=True): + CCodeWriter.__init__(self, create_from, buffer, copy_formatting=True) self.annotation_buffer = StringIO() if create_from is None: self.annotations = [] -- 2.26.2