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
beaaa543
Commit
beaaa543
authored
Oct 28, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to the HTMLParser doc.
parent
1d134604
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/library/htmlparser.rst
Doc/library/htmlparser.rst
+4
-4
No files found.
Doc/library/htmlparser.rst
View file @
beaaa543
...
...
@@ -8,8 +8,8 @@
.. note::
The :mod:`HTMLParser` module has been renamed to :mod:`html.parser` in Python
3.
0.
The :term:`2to3` tool will automatically adapt imports when converting
your sources to
3.0
.
3. The :term:`2to3` tool will automatically adapt imports when converting
your sources to
Python 3
.
.. versionadded:: 2.2
...
...
@@ -109,9 +109,9 @@ An exception is defined as well:
.. method:: HTMLParser.handle_startendtag(tag, attrs)
Similar to :meth:`handle_starttag`, but called when the parser encounters an
XHTML-style empty tag (``
<
a
...
/>
``). This method may be overridden by
XHTML-style empty tag (``
<
img
...
/>
``). This method may be overridden by
subclasses which require this particular lexical information; the default
implementation simpl
e
calls :meth:`handle_starttag` and :meth:`handle_endtag`.
implementation simpl
y
calls :meth:`handle_starttag` and :meth:`handle_endtag`.
.. method:: HTMLParser.handle_endtag(tag)
...
...
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