Mercurial > hgrepos > Python > libs > ConfigMix
changeset 354:bd28fb4565e1
FIX: Tagging of the KeyError: :py:exception: -> :py:exc:
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 24 Jun 2021 19:41:44 +0200 |
| parents | a7491f835cb0 |
| children | 260354e9a7f9 |
| files | CHANGES.txt docs/introduction.rst |
| diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Thu Jun 24 19:39:20 2021 +0200 +++ b/CHANGES.txt Thu Jun 24 19:41:44 2021 +0200 @@ -20,9 +20,9 @@ - **[feature]** New filter functions :py:func:`None` and :py:func:`Empty`. They are - useful in variable interpolation context where they suppress possible - lookup errors (aka :py:exception:`KeyError`) and instead return with - :py:obj:`None` or an empty string. + useful in variable interpolation context where they suppress + possible lookup errors (aka :py:exc:`KeyError`) and instead return + with :py:obj:`None` or an empty string. 0.14 (2021-05-10)
--- a/docs/introduction.rst Thu Jun 24 19:39:20 2021 +0200 +++ b/docs/introduction.rst Thu Jun 24 19:41:44 2021 +0200 @@ -419,8 +419,8 @@ Also available are special filter functions ``None`` and ``Empty``. They are useful in variable interpolation context because they -suppress possible lookup errors (aka :py:exception:`KeyError`) and -instead return with :py:obj:`None` or an empty string. +suppress possible lookup errors (aka :py:exc:`KeyError`) and instead +return with :py:obj:`None` or an empty string. Examples
