summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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. """