summaryrefslogtreecommitdiff
path: root/Lib/formatter.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-10-08 21:57:47 +0000
committerFred Drake <fdrake@acm.org>1996-10-08 21:57:47 +0000
commit80f990f6c4636cc0bdb41ce41575ff0a072670ff (patch)
tree5c0d72048d71f779ae944a6db60c3c88672c20e8 /Lib/formatter.py
parent13993bea4f8ed827e33db687e845a4e795c7329c (diff)
downloadcpython-80f990f6c4636cc0bdb41ce41575ff0a072670ff.tar.gz
(formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
documentation.
Diffstat (limited to 'Lib/formatter.py')
-rw-r--r--Lib/formatter.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/formatter.py b/Lib/formatter.py
index 79be0f64e3..507ed8a6fa 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