mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add undocumented but used method LWPCookieJar.as_lwp_str. (#3041)
The method is defined here:
e36ed475ea/Lib/http/cookiejar.py (L1864)
This commit is contained in:
committed by
Jelle Zijlstra
parent
61eb99664b
commit
e7184d6dfc
@@ -105,6 +105,8 @@ class FileCookieJar(CookieJar):
|
||||
def load(self, filename: Optional[Any] = ..., ignore_discard: bool = ..., ignore_expires: bool = ...): ...
|
||||
def revert(self, filename: Optional[Any] = ..., ignore_discard: bool = ..., ignore_expires: bool = ...): ...
|
||||
|
||||
class LWPCookieJar(FileCookieJar):
|
||||
def as_lwp_str(self, ignore_discard: bool = ..., ignore_expires: bool = ...) -> str: ... # undocumented
|
||||
|
||||
MozillaCookieJar = FileCookieJar
|
||||
LWPCookieJar = FileCookieJar
|
||||
def lwp_cookie_str(cookie: Cookie) -> str: ...
|
||||
|
||||
@@ -37,8 +37,9 @@ class FileCookieJar(CookieJar):
|
||||
ignore_expires: bool = ...) -> None: ...
|
||||
|
||||
class MozillaCookieJar(FileCookieJar): ...
|
||||
class LWPCookieJar(FileCookieJar): ...
|
||||
|
||||
class LWPCookieJar(FileCookieJar):
|
||||
def as_lwp_str(self, ignore_discard: bool = ..., ignore_expires: bool = ...) -> str: ... # undocumented
|
||||
|
||||
class CookiePolicy:
|
||||
netscape: bool
|
||||
|
||||
Reference in New Issue
Block a user