mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Insert a missing semicolon in sgmllib documentation (#772)
This commit is contained in:
committed by
Serhiy Storchaka
parent
dae5482c9c
commit
de65804d5c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user