summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2019-07-15 15:54:30 -0400
committerLeonard Richardson <leonardr@segfault.org>2019-07-15 15:54:30 -0400
commit7086ef1c7c3d48f5bdeb7bdef142a878c802dc5f (patch)
treed1c1679e8695ecb50761d3f73ca9a715f1990a30 /doc/source
parent07d84a4e9af51863459a1e3d988f2806835fc110 (diff)
Implemented Tag.smooth.
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 0c09964..4bca0ae 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -2292,7 +2292,7 @@ Subclassing ``HTMLFormatter`` or ``XMLFormatter`` will give you even
more control over the output. For example, Beautiful Soup sorts the
attributes in every tag by default::
- attr_soup = BeautifulSoup('<p z="1" m="2" a="3"></p>')
+ attr_soup = BeautifulSoup(b'<p z="1" m="2" a="3"></p>')
print(attr_soup.p.encode())
# <p a="3" m="2" z="1"></p>