File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,11 +255,14 @@ contained :class:`Cookie` objects.
255255 Discards all contained cookies that have a true :attr: `expires ` attribute
256256 (usually because their expiration time have passed)
257257
258- This is a low-level function which probably don't need to be called because
259- expired cookies are never sent back to the server (provided using
260- :class: `DefaultCookiePolicy `). This method is called by :class: `CookieJar `
261- itself every so often. It *could * only be useful when customizing a
262- :class: `CookiePolicy ` with an expiring logic.
258+ This is a low-level function which usually does not need to be called
259+ since expired cookies are never sent back to the server when using
260+ :class: `DefaultCookiePolicy ` nor are they saved by :meth: `save ` unless
261+ the latter is called with a truthy *ignore_expires *.
262+
263+ Since :class: `CookieJar ` also calls this method every so often,
264+ it *could * only be useful when customizing a :class: `CookiePolicy `
265+ with an expiring logic.
263266
264267 Note that the :meth: `save ` method won't save expired cookies anyway (unless you
265268 ask otherwise by passing a true *ignore_expires * argument).
You can’t perform that action at this time.
0 commit comments