mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#9019: remove false (in 3k) claim about Headers updates.
This commit is contained in:
parent
b2566cfbf9
commit
a1631b337a
1 changed files with 1 additions and 3 deletions
|
@ -187,9 +187,7 @@ manipulation of WSGI response headers using a mapping-like interface.
|
||||||
.. class:: Headers(headers)
|
.. class:: Headers(headers)
|
||||||
|
|
||||||
Create a mapping-like object wrapping *headers*, which must be a list of header
|
Create a mapping-like object wrapping *headers*, which must be a list of header
|
||||||
name/value tuples as described in :pep:`333`. Any changes made to the new
|
name/value tuples as described in :pep:`333`.
|
||||||
:class:`Headers` object will directly update the *headers* list it was created
|
|
||||||
with.
|
|
||||||
|
|
||||||
:class:`Headers` objects support typical mapping operations including
|
:class:`Headers` objects support typical mapping operations including
|
||||||
:meth:`__getitem__`, :meth:`get`, :meth:`__setitem__`, :meth:`setdefault`,
|
:meth:`__getitem__`, :meth:`get`, :meth:`__setitem__`, :meth:`setdefault`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue