From: Robert Bradshaw Date: Thu, 14 Aug 2008 09:34:23 +0000 (-0700) Subject: Fix annotation. X-Git-Tag: 0.9.8.1~49^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e751a61a0d6da1da019c7d2f045754c604b5d504;p=cython.git Fix annotation. --- 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 = []