Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bb7b753c
Commit
bb7b753c
authored
Dec 03, 2010
by
R. David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing versionchanged, correct 'throw' wording to 'raise'.
parent
b579dba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Doc/library/html.parser.rst
Doc/library/html.parser.rst
+4
-2
No files found.
Doc/library/html.parser.rst
View file @
bb7b753c
...
...
@@ -27,6 +27,8 @@ parsing text files formatted in HTML (HyperText Mark-up Language) and XHTML.
This parser does not check that end tags match start tags or call the end-tag
handler for elements which are closed implicitly by closing an outer element.
.. versionchanged:: 3.2 *strict* keyword added
An exception is defined as well:
...
...
@@ -197,6 +199,6 @@ As a basic example, below is a very basic HTML parser that uses the
.. rubric:: Footnotes
.. [#] For backward compatibility reasons *strict* mode does not
throw
e
rror
s for all non-compliant HTML. That is, some invalid HTML
.. [#] For backward compatibility reasons *strict* mode does not
raise
e
xception
s for all non-compliant HTML. That is, some invalid HTML
is tolerated even in *strict* mode.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment