Skip to content

Commit

Permalink
adding cgi.escape -> html.escape ; benjaminp#159
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanasco committed Apr 29, 2019
1 parent 8da94b8 commit 2a24966
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ Supported renames:
+------------------------------+-------------------------------------+---------------------------------------+
| ``html_entities`` | :mod:`py2:htmlentitydefs` | :mod:`py3:html.entities` |
+------------------------------+-------------------------------------+---------------------------------------+
| ``html_escape`` | :func:`py2:cgi.escape` | :func:`py3:html.escape` |
+------------------------------+-------------------------------------+---------------------------------------+
| ``html_parser`` | :mod:`py2:HTMLParser` | :mod:`py3:html.parser` |
+------------------------------+-------------------------------------+---------------------------------------+
| ``http_client`` | :mod:`py2:httplib` | :mod:`py3:http.client` |
Expand Down
1 change: 1 addition & 0 deletions six.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ class _MovedItems(_LazyModule):
MovedAttribute("cStringIO", "cStringIO", "io", "StringIO"),
MovedAttribute("filter", "itertools", "builtins", "ifilter", "filter"),
MovedAttribute("filterfalse", "itertools", "itertools", "ifilterfalse", "filterfalse"),
MovedAttribute("html_escape", "cgi", "html", "escape", "escape"),
MovedAttribute("input", "__builtin__", "builtins", "raw_input", "input"),
MovedAttribute("intern", "__builtin__", "sys"),
MovedAttribute("map", "itertools", "builtins", "imap", "map"),
Expand Down

0 comments on commit 2a24966

Please sign in to comment.