]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
authorFred Drake <fdrake@acm.org>
Tue, 8 Oct 1996 21:57:47 +0000 (21:57 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 8 Oct 1996 21:57:47 +0000 (21:57 +0000)
documentation.

Lib/formatter.py

index 79be0f64e35b75cddb5126e9fb5a1ac64515b33c..507ed8a6fafae38f4cfd32b5c8016cc2f84e5061 100644 (file)
@@ -16,9 +16,8 @@ class NullFormatter:
        self.writer = writer
     def end_paragraph(self, blankline): pass
     def add_line_break(self): pass
-    def add_hor_rule(self, abswidth=None, percentwidth=1.0,
-                    height=None, align=None): pass
-    def add_label_data(self, format, counter): pass
+    def add_hor_rule(self, *args, **kw): pass
+    def add_label_data(self, format, counter, blankline=None): pass
     def add_flowing_data(self, data): pass
     def add_literal_data(self, data): pass
     def flush_softspace(self): pass