mirror of
https://github.com/httpie/cli.git
synced 2025-01-26 07:19:13 +01:00
Use PYthon 3 documentation
[skip ci]
This commit is contained in:
parent
fe96b2af20
commit
b50f9aa7e7
@ -112,7 +112,7 @@ class Session(BaseConfigDict):
|
|||||||
|
|
||||||
@cookies.setter
|
@cookies.setter
|
||||||
def cookies(self, jar: RequestsCookieJar):
|
def cookies(self, jar: RequestsCookieJar):
|
||||||
# <https://docs.python.org/2/library/cookielib.html#cookie-objects>
|
# <https://docs.python.org/3/library/cookielib.html#cookie-objects>
|
||||||
stored_attrs = ['value', 'path', 'secure', 'expires']
|
stored_attrs = ['value', 'path', 'secure', 'expires']
|
||||||
self['cookies'] = {}
|
self['cookies'] = {}
|
||||||
for cookie in jar:
|
for cookie in jar:
|
||||||
|
Loading…
Reference in New Issue
Block a user