summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonathan vanasco <jonathan@2xlp.com>2018-04-11 20:24:45 -0400
committerjonathan vanasco <jonathan@2xlp.com>2018-04-11 20:24:45 -0400
commit073facffe63ddb9f73106bec4266d4783bb32132 (patch)
tree32cc537b6a367d82f19f865676d2f3d6beb6cdd1
parent41662fd21a3f4f41684a92c904750543987b87da (diff)
downloadpyramid-073facffe63ddb9f73106bec4266d4783bb32132.tar.gz
pyramid-073facffe63ddb9f73106bec4266d4783bb32132.tar.bz2
pyramid-073facffe63ddb9f73106bec4266d4783bb32132.zip
updated unset_cookie
-rw-r--r--pyramid/interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py
index 765a63ada..bedfb60b3 100644
--- a/pyramid/interfaces.py
+++ b/pyramid/interfaces.py
@@ -180,7 +180,7 @@ class IResponse(Interface):
"""Gets and sets and deletes the Date header. For more information on
Date see RFC 2616 section 14.18. Converts using HTTP date.""")
- def delete_cookie(key, path='/', domain=None):
+ def delete_cookie(name, path='/', domain=None):
""" Delete a cookie from the client. Note that path and domain must
match how the cookie was originally set. This sets the cookie to the
empty string, and max_age=0 so that it should expire immediately. """