Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Side by Side Diff: Doc/library/html.entities.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/gzip.rst ('k') | Doc/library/http.client.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`html.entities` --- Definitions of HTML general entities 1 :mod:`html.entities` --- Definitions of HTML general entities
2 ============================================================= 2 =============================================================
3 3
4 .. module:: html.entities 4 .. module:: html.entities
5 :synopsis: Definitions of HTML general entities. 5 :synopsis: Definitions of HTML general entities.
6 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org> 6 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
7 7
8 **Source code:** :source:`Lib/html/entities.py` 8 **Source code:** :source:`Lib/html/entities.py`
9 9
10 -------------- 10 --------------
11 11
12 This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``, 12 This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
13 and ``entitydefs``. ``entitydefs`` is used to provide the :attr:`entitydefs` 13 and ``entitydefs``. ``entitydefs`` is used to provide the :attr:`entitydefs`
14 attribute of the :class:`html.parser.HTMLParser` class. The definition provided 14 member of the :class:`html.parser.HTMLParser` class. The definition provided
15 here contains all the entities defined by XHTML 1.0 that can be handled using 15 here contains all the entities defined by XHTML 1.0 that can be handled using
16 simple textual substitution in the Latin-1 character set (ISO-8859-1). 16 simple textual substitution in the Latin-1 character set (ISO-8859-1).
17 17
18 18
19 .. data:: entitydefs 19 .. data:: entitydefs
20 20
21 A dictionary mapping XHTML 1.0 entity definitions to their replacement text i n 21 A dictionary mapping XHTML 1.0 entity definitions to their replacement text i n
22 ISO Latin-1. 22 ISO Latin-1.
23 23
24 24
25 .. data:: name2codepoint 25 .. data:: name2codepoint
26 26
27 A dictionary that maps HTML entity names to the Unicode codepoints. 27 A dictionary that maps HTML entity names to the Unicode codepoints.
28 28
29 29
30 .. data:: codepoint2name 30 .. data:: codepoint2name
31 31
32 A dictionary that maps Unicode codepoints to HTML entity names. 32 A dictionary that maps Unicode codepoints to HTML entity names.
OLDNEW
« no previous file with comments | « Doc/library/gzip.rst ('k') | Doc/library/http.client.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+