Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ba6ea9b2
Commit
ba6ea9b2
authored
Mar 30, 2015
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2211: Fix typo, address missed review comment.
parent
c156e516
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Doc/library/http.cookies.rst
Doc/library/http.cookies.rst
+6
-0
Doc/whatsnew/3.5.rst
Doc/whatsnew/3.5.rst
+2
-2
No files found.
Doc/library/http.cookies.rst
View file @
ba6ea9b2
...
...
@@ -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
...
...
Doc/whatsnew/3.5.rst
View file @
ba6ea9b2
...
...
@@ -679,8 +679,8 @@ Changes in the Python API
consistent: morsel comparison now takes the :attr:`~http.cookies.Morsel.key`
and :attr:`~http.cookies.Morsel.value` into account,
:meth:`~http.cookies.Morsel.copy` now results in a
:class:`~http.cookies.Morsel` instance rather than a
*dict*
, and
:meth:`~http.cookies.Morsel.update` will no raise an exception if any of the
:class:`~http.cookies.Morsel` instance rather than a
:class:`dict`
, and
:meth:`~http.cookies.Morsel.update` will no
w
raise an exception if any of the
keys in the update dictionary are invalid. In addition, the undocumented
*LegalChars* parameter of :func:`~http.cookies.Morsel.set` is deprecated and
is now ignored. (:issue:`2211`)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment