diff --git a/README.rst b/README.rst index 0828a62..f18d7e5 100644 --- a/README.rst +++ b/README.rst @@ -38,7 +38,7 @@ dictionaries value: t.Optional[t.Union[str, t.Dict[str, t.Any]]], options: DecodeOptions = DecodeOptions(), ) -> t.Dict[str, t.Any]: - """Decodes a str or Dict[str, Any] into a Dict. + """Decodes a query string into a Dict[str, Any]. Providing custom DecodeOptions will override the default behavior.""" pass diff --git a/docs/README.rst b/docs/README.rst index 7b3b720..6fecd81 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -12,7 +12,7 @@ dictionaries value: t.Optional[t.Union[str, t.Dict[str, t.Any]]], options: DecodeOptions = DecodeOptions(), ) -> t.Dict[str, t.Any]: - """Decodes a str or Dict[str, Any] into a Dict. + """Decodes a query string into a Dict[str, Any]. Providing custom DecodeOptions will override the default behavior.""" pass diff --git a/src/qs_codec/decode.py b/src/qs_codec/decode.py index 44bac3e..a38f12a 100644 --- a/src/qs_codec/decode.py +++ b/src/qs_codec/decode.py @@ -19,7 +19,7 @@ def decode( options: DecodeOptions = DecodeOptions(), ) -> t.Dict[str, t.Any]: """ - Decodes a ``str`` or ``t.Dict[str, t.Any]`` into a ``dict``. + Decodes a query string into a ``Dict[str, Any]``. Providing custom ``DecodeOptions`` will override the default behavior. """