summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bs4/formatter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/formatter.py b/bs4/formatter.py
index c821318..9fa1b57 100644
--- a/bs4/formatter.py
+++ b/bs4/formatter.py
@@ -51,7 +51,7 @@ class Formatter(EntitySubstitution):
void_element_close_prefix='/', cdata_containing_tags=None,
empty_attributes_are_booleans=False, indent=1,
):
- """Constructor.
+ r"""Constructor.
:param language: This should be Formatter.XML if you are formatting
XML markup and Formatter.HTML if you are formatting HTML markup.
@@ -76,7 +76,7 @@ class Formatter(EntitySubstitution):
negative, or "" will only insert newlines. Using a
positive integer indent indents that many spaces per
level. If indent is a string (such as "\t"), that string
- is used to indent each level. The default behavior to
+ is used to indent each level. The default behavior is to
indent one space per level.
"""
self.language = language