Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
80f990f6
Commit
80f990f6
authored
Oct 08, 1996
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
documentation.
parent
13993bea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Lib/formatter.py
Lib/formatter.py
+2
-3
No files found.
Lib/formatter.py
View file @
80f990f6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment