1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 13:03:47 +00:00

added missing text to new stats collector methods

This commit is contained in:
Pablo Hoffman 2009-08-11 16:37:52 -03:00
parent 45cbe1333f
commit e69311ef38

View File

@ -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)