Deprecate EpubBuilder.esc() in favor of stdlib html.escape()

Available since Python 3.2.

https://docs.python.org/3/library/html.html#html.escape
This commit is contained in:
Jon Dufresne
2019-04-23 18:01:03 -07:00
parent de0c44196e
commit ee23a29b3c
4 changed files with 53 additions and 43 deletions

View File

@@ -31,6 +31,11 @@ The following is a list of deprecated interfaces.
- 4.0
- N/A
* - ``sphinx.builders._epub_base.EpubBuilder.esc()``
- 2.1
- 4.0
- ``html.escape()``
* - ``sphinx.directives.Acks``
- 2.1
- 4.0