diff --git a/docs/topics/stats.rst b/docs/topics/stats.rst index 63cc5ff32..2e30ccd17 100644 --- a/docs/topics/stats.rst +++ b/docs/topics/stats.rst @@ -145,13 +145,17 @@ class (which they all inherit from). Set the given value for the given key only if current value for the same key is lower than value. If there is no current value for the - given key, the value is always set. + given key, the value is always set. If domain is not given the global + stats table is used, otherwise the domain-specific stats table is used, + which must be opened or a KeyError will be raised. .. method:: min_value(key, value, domain=None) Set the given value for the given key only if current value for the same key is greater than value. If there is no current value for the - given key, the value is always set. + given key, the value is always set. If domain is not given the global + stats table is used, otherwise the domain-specific stats table is used, + which must be opened or a KeyError will be raised. .. method:: clear_stats(domain=None)