10000 gh-135885: Fix undocumented method `CookieJar.clear_expired_cookies` in lib `http.cookiejar` by LamentXU123 · Pull Request #135882 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-135885: Fix undocumented method CookieJar.clear_expired_cookies in lib http.cookiejar #135882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update http.cookiejar.rst
  • Loading branch information
LamentXU123 authored Jun 24, 2025
commit a0b192d7e046330bc4860abc74cad0ba07ae9d8e
2 changes: 1 addition & 1 deletion Doc/library/http.cookiejar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ contained :class:`Cookie` objects.
You probably don't need to call this method because expired cookies are never
sent back to the server (provided you're using :class:`DefaultCookiePolicy`).
This method is called by :class:`CookieJar` itself every so often. It *could*
only be useful when you are customizing a `CookiePolicy` with your own
only be useful when you are customizing a `CookiePolicy` with your own
expiring logic.

Note that the :meth:`save` method won't save expired cookies anyway (unless you ask
Expand Down
Loading
0