Skip to content

Commit 23cce96

Browse files
Apply suggestions from code review
1 parent a2e51ab commit 23cce96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/html.parser.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Parsing an element with a few attributes and a title::
292292
End tag : h1
293293

294294
The content of elements like ``script`` and ``style`` is returned as is,
295-
without further parsing:
295+
without further parsing::
296296

297297
>>> parser.feed('<style type="text/css">#python { color: green }</style>')
298298
Start tag: style
@@ -324,7 +324,7 @@ correct char (note: these 3 references are all equivalent to ``'>'``)::
324324

325325
Feeding incomplete chunks to :meth:`~HTMLParser.feed` works, but
326326
:meth:`~HTMLParser.handle_data` might be called more than once
327-
if *convert_charrefs* is false:
327+
if *convert_charrefs* is false::
328328

329329
>>> for chunk in ['<sp', 'an>buff', 'ered ', 'text</s', 'pan>']:
330330
... parser.feed(chunk)

0 commit comments

Comments
 (0)