summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorjonathan vanasco <jonathan@2xlp.com>2018-04-11 17:39:03 -0400
committerjonathan vanasco <jonathan@2xlp.com>2018-04-11 17:39:03 -0400
commit41662fd21a3f4f41684a92c904750543987b87da (patch)
treefcd7110728106e1cec2788b6d4f5b9059b0b2ccf /docs/narr
parentfab055d611f44c5196d1b5acda3fce712fef62dc (diff)
downloadpyramid-41662fd21a3f4f41684a92c904750543987b87da.tar.gz
pyramid-41662fd21a3f4f41684a92c904750543987b87da.tar.bz2
pyramid-41662fd21a3f4f41684a92c904750543987b87da.zip
updated `delete_cookie` docs with `name` instead of `key`
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/webob.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index 5fd19e417..4efe783b0 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -412,7 +412,7 @@ Here are some highlights:
(you may also use a timedelta object). The ``Expires`` key will also be
set based on the value of ``max_age``.
-``response.delete_cookie(key, path='/', domain=None)``
+``response.delete_cookie(name, path='/', domain=None)``
Delete a cookie from the client. This sets ``max_age`` to 0 and the cookie
value to ``''``.