Mercurial > hgrepos > Python > libs > ConfigMix
changeset 360:d2751a80d9b7
Docu: fix link to KeyError in the new filter function implementations
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 25 Jun 2021 00:56:22 +0200 |
| parents | ce2a8f5a2fb2 |
| children | 3d5eaa6895d9 |
| files | configmix/variables.py |
| diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/variables.py Thu Jun 24 22:01:53 2021 +0200 +++ b/configmix/variables.py Fri Jun 25 00:56:22 2021 +0200 @@ -248,8 +248,8 @@ def None_filter_impl(config, v): """Identity. - The `None` filter is just a marker to not throw `KeyError` but return - `None`. + The `None` filter is just a marker to not throw :exc:`KeyError` + but return `None`. """ return v @@ -259,8 +259,8 @@ def Empty_filter_impl(config, v): """Identity. - The `Empty` filter is just a marker to not throw `KeyError` but return - the empty string. + The `Empty` filter is just a marker to not throw :exc:`KeyError` + but return the empty string. """ return v
