From: Fred Drake Date: Tue, 8 Oct 1996 21:57:47 +0000 (+0000) Subject: (formatter.py): Simplify NullFormatter definition of add_hor_rule() to match X-Git-Tag: v1.4~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca8cdc60661708d0d7975fa01fa99caa9646a9b2;p=thirdparty%2FPython%2Fcpython.git (formatter.py): Simplify NullFormatter definition of add_hor_rule() to match documentation. --- diff --git a/Lib/formatter.py b/Lib/formatter.py index 79be0f64e35b..507ed8a6fafa 100644 --- a/Lib/formatter.py +++ b/Lib/formatter.py @@ -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