diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-03-30 11:48:50 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-03-30 11:48:50 -0400 |
commit | ba6ea9b237572f301e20416dceb3573538b89a1e (patch) | |
tree | b7382a770a07d6199fa6685b9f37b7d6d187d5d5 /Doc/library/http.cookies.rst | |
parent | c156e51668f23ce2da783abcc19b3fa19fe8f90d (diff) | |
download | cpython-git-ba6ea9b237572f301e20416dceb3573538b89a1e.tar.gz |
#2211: Fix typo, address missed review comment.
Diffstat (limited to 'Doc/library/http.cookies.rst')
-rw-r--r-- | Doc/library/http.cookies.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst index 5c3fbc8df1..7c85d0954d 100644 --- a/Doc/library/http.cookies.rst +++ b/Doc/library/http.cookies.rst @@ -228,6 +228,12 @@ Morsel Objects return a Morsel object instead of a dict. +.. method:: Morsel.setdefault(key, value=None) + + Raise an error if key is not a valid :rfc:`2109` attribute, otherwise + behave the same as :meth:`dict.setdefault`. + + .. _cookie-example: Example |