[issue43225] Add missing value returned by methods on cookiejar

Emmanuel Arias report at bugs.python.org
Sun Feb 14 16:02:05 EST 2021


Emmanuel Arias <eamanu at yaerobi.com> added the comment:

Sorry I left nothing of information.

On https://docs.python.org/3/library/http.cookiejar.html?highlight=http%20cookiejar#http.cookiejar.DefaultCookiePolicy.is_blocked and https://docs.python.org/3/library/http.cookiejar.html?highlight=http%20cookiejar#http.cookiejar.DefaultCookiePolicy.is_not_allowed docs mention that is_blocked and is_not_allowed methods "return whether *domain*..." but not mention what is return. So I added looking in the code, that this methods "return ``True`` whether *domain*..." IMO that is more clear.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43225>
_______________________________________


More information about the Python-bugs-list mailing list