summaryrefslogtreecommitdiff
path: root/bs4/__init__.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2019-12-24 08:58:05 -0500
committerLeonard Richardson <leonardr@segfault.org>2019-12-24 08:58:05 -0500
commitb7dec273425095f8e2ab1f1c58ecc124ca63e856 (patch)
treeae20e27a551f99570996f262df71337ab16c1ed1 /bs4/__init__.py
parentee3f30b0e778747fb701856a33713369f778834f (diff)
Added docstrings to all public methods in dammit.py.
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r--bs4/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index 0f3a0e3..a8bdc8d 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -91,9 +91,9 @@ class BeautifulSoup(Tag):
# want, look for one with these features.
DEFAULT_BUILDER_FEATURES = ['html', 'fast']
- # A bytestring containing all ASCII whitespace characters, used in
+ # A string containing all ASCII whitespace characters, used in
# endData() to detect data chunks that seem 'empty'.
- ASCII_SPACES = b'\x20\x0a\x09\x0c\x0d'
+ ASCII_SPACES = '\x20\x0a\x09\x0c\x0d'
NO_PARSER_SPECIFIED_WARNING = "No parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system (\"%(parser)s\"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.\n\nThe code that caused this warning is on line %(line_number)s of the file %(filename)s. To get rid of this warning, pass the additional argument 'features=\"%(parser)s\"' to the BeautifulSoup constructor.\n"