diff options
author | Fred Drake <fdrake@acm.org> | 1996-10-08 21:57:47 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1996-10-08 21:57:47 (GMT) |
commit | ca8cdc60661708d0d7975fa01fa99caa9646a9b2 (patch) | |
tree | 52cfe5889d07907ce5ea87f2b9beecb118e68efe /Lib/formatter.py | |
parent | 53e84d534210a4cd5d87cc24d177ccb0e69f81a2 (diff) | |
download | cpython-ca8cdc60661708d0d7975fa01fa99caa9646a9b2.zip cpython-ca8cdc60661708d0d7975fa01fa99caa9646a9b2.tar.gz cpython-ca8cdc60661708d0d7975fa01fa99caa9646a9b2.tar.bz2 |
(formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
documentation.
Diffstat (limited to 'Lib/formatter.py')
-rw-r--r-- | Lib/formatter.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/formatter.py b/Lib/formatter.py index 79be0f6..507ed8a 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 |