diff --git a/src/cattrs/converters.py b/src/cattrs/converters.py index 70220802..70c19b44 100644 --- a/src/cattrs/converters.py +++ b/src/cattrs/converters.py @@ -499,7 +499,7 @@ def get_unstructure_hook( If no hook is registered, the converter unstructure fallback factory will be used to produce one. - :param cache: Whether to cache the returned hook. + :param cache_result: Whether to cache the returned hook. .. versionadded:: 24.1.0 """ @@ -648,7 +648,7 @@ def get_structure_hook( If no hook is registered, the converter structure fallback factory will be used to produce one. - :param cache: Whether to cache the returned hook. + :param cache_result: Whether to cache the returned hook. .. versionadded:: 24.1.0