changeset 374:4d7ad20cb8f9

FIX: Doc strings
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 11 Jul 2021 17:28:01 +0200
parents 0c65aac81807
children baedd2031074
files configmix/config.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configmix/config.py	Sun Jul 11 17:08:06 2021 +0200
+++ b/configmix/config.py	Sun Jul 11 17:28:01 2021 +0200
@@ -222,8 +222,8 @@
             return s
 
     def getfirstintvar_s(self, *varnames, **kwds):
-        """Get a (possibly substituted) variable and coerce text to a
-        number.
+        """A variant of :meth:`~.getintvar_s` that returns the first found
+        variable in the list of given variables in `varnames`.
 
         """
         s = self.getfirstvar_s(*varnames, **kwds)
@@ -261,8 +261,8 @@
             return s
 
     def getfirstboolvar_s(self, *varnames, **kwds):
-        """Get a (possibly substituted) variable and convert text to a
-        boolean
+        """A variant of :meth:`~.getboolvar_s` that returns the first found
+        variable in the list of given variables in `varnames`.
 
         """
         s = self.getfirstvar_s(*varnames, **kwds)