code: def timedeltas(
      min_value: dt.timedelta = dt.timedelta.min,
      max_value: dt.timedelta = dt.timedelta.max,
  ) -> SearchStrategy[dt.timedelta]:
      """timedeltas(min_value=datetime.timedelta.min, max_value=datetime.timedelta.max)
  
      A strategy for timedeltas between ``min_value`` and ``max_value``.
  
      Examples from this strategy shrink towards zero.
      """
      check_type(dt.timedelta, min_value, "min_value")
      check_type(dt.timedelta, max_value, "max_value")
      check_valid_interval(
          min_value, max_value, "min_value", "max_value"
      )
      if min_value == max_value:
          return just(min_value)
      return TimedeltaStrategy(min_value=min_value, max_value=max_value)
  
imports: import datetime
  from calendar import monthrange
  from functools import lru_cache
  from importlib import resources
  from pathlib import Path
  from typing import Optional
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.validation import check_type, check_valid_interval
  from hypothesis.strategies._internal.core import sampled_from
  from hypothesis.strategies._internal.misc import just, none
  from hypothesis.strategies._internal.strategies import SearchStrategy
  from hypothesis.strategies._internal.utils import defines_strategy
label_desc: Use image node_id 8 for calling a global function with example usage: timedeltas(min_value, max_value) and returns: TimedeltaStrategy, just