]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9664)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Oct 2018 00:44:31 +0000 (17:44 -0700)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 2 Oct 2018 00:44:31 +0000 (17:44 -0700)
(cherry picked from commit 30534cc7172f36092e0002bb7df482edc0d539ce)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Doc/library/html.rst

index d0706bcbc0793411981f5532ecb2bc6b1c40a521..c2b01e14ea755569e1c78743e2b3fe21f5ba8272 100644 (file)
@@ -24,7 +24,7 @@ This module defines utilities to manipulate HTML.
 .. function:: unescape(s)
 
    Convert all named and numeric character references (e.g. ``&gt;``,
-   ``&#62;``, ``&x3e;``) in the string *s* to the corresponding unicode
+   ``&#62;``, ``&#x3e;``) in the string *s* to the corresponding Unicode
    characters.  This function uses the rules defined by the HTML 5 standard
    for both valid and invalid character references, and the :data:`list of
    HTML 5 named character references <html.entities.html5>`.