From: cocoatomo Date: Wed, 22 Mar 2017 19:12:36 +0000 (+0900) Subject: Insert a missing semicolon in sgmllib documentation (#772) X-Git-Tag: v2.7.14rc1~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de65804d5cbca7fc033db17e504740b97f033221;p=python Insert a missing semicolon in sgmllib documentation (#772) --- diff --git a/Doc/library/sgmllib.rst b/Doc/library/sgmllib.rst index 1fc650c244..ffd010210e 100644 --- a/Doc/library/sgmllib.rst +++ b/Doc/library/sgmllib.rst @@ -166,7 +166,7 @@ A single exception is defined as well: passing it to :meth:`convert_entityref`. If a translation is returned, it calls the method :meth:`handle_data` with the translation; otherwise, it calls the method ``unknown_entityref(ref)``. The default :attr:`entitydefs` defines - translations for ``&``, ``&apos``, ``>``, ``<``, and ``"``. + translations for ``&``, ``'``, ``>``, ``<``, and ``"``. .. versionchanged:: 2.5 Use :meth:`convert_entityref` instead of hard-coding the conversion.