Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aiohttp/cookiejar.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def save(self, file_path: PathLike) -> None:
json.dump(data, f, indent=2)

def load(self, file_path: PathLike) -> None:
"""Load cookies from a JSON file.
"""Load cookies from a file.

:param file_path: Path to file from where cookies will be
imported, :class:`str` or :class:`pathlib.Path` instance.
Expand Down
2 changes: 1 addition & 1 deletion docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ Utilities

.. method:: load(file_path)

Load cookies from a JSON file at the provided path.
Load cookies from the file at provided path.

:param file_path: Path to file from where cookies will be
imported, :class:`str` or :class:`pathlib.Path` instance.
Expand Down
Loading