From ca8cdc60661708d0d7975fa01fa99caa9646a9b2 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 8 Oct 1996 21:57:47 +0000 Subject: [PATCH] (formatter.py): Simplify NullFormatter definition of add_hor_rule() to match documentation. --- Lib/formatter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Lib/formatter.py b/Lib/formatter.py index 79be0f64e35..507ed8a6faf 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