Use PYthon 3 documentation

[skip ci]
This commit is contained in:
Mickaël Schoentgen 2021-09-28 12:54:16 +02:00
parent fe96b2af20
commit b50f9aa7e7

View File

@ -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: