Fix annotation.
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 14 Aug 2008 09:34:23 +0000 (02:34 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 14 Aug 2008 09:34:23 +0000 (02:34 -0700)
Cython/Compiler/Annotate.py

index 707f6bd06d51ad6f6657092821cf17f892cfa5eb..5f6ca4174b267caef179a1910546befa2ce947cb 100644 (file)
@@ -17,8 +17,8 @@ special_chars = [(u'<', u'\xF0', u'&lt;'),
 
 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 = []