diff configmix/variables.py @ 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 dd454e1efea4
children 6b3da9e5acc6
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