summaryrefslogtreecommitdiff
path: root/bs4/formatter.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2019-12-24 09:59:42 -0500
committerLeonard Richardson <leonardr@segfault.org>2019-12-24 09:59:42 -0500
commit5952879a2458fdeb74673d3ccd61fd312c7d66df (patch)
treeabf4c1b06725b2a755b8121ff9fefc1b35619fce /bs4/formatter.py
parentb6c5db5c45cd38cd4df50f415d42f518fc821ca2 (diff)
Added docstrings to diagnose.py.
Diffstat (limited to 'bs4/formatter.py')
-rw-r--r--bs4/formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/formatter.py b/bs4/formatter.py
index c907ea8..09d15e7 100644
--- a/bs4/formatter.py
+++ b/bs4/formatter.py
@@ -7,7 +7,7 @@ class Formatter(EntitySubstitution):
HTML4, HTML5, and XML. Others are configurable by the user.
Formatters are passed in as the `formatter` argument to methods
- like `Element.encode`. Most people won't need to think about
+ like `PageElement.encode`. Most people won't need to think about
formatters, and most people who need to think about them can pass
in one of these predefined strings as `formatter` rather than
making a new Formatter object: