summaryrefslogtreecommitdiffstats
path: root/Doc/library/mailbox.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/mailbox.rst')
-rw-r--r--Doc/library/mailbox.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst
index ce8dc59..cfd1ebe 100644
--- a/Doc/library/mailbox.rst
+++ b/Doc/library/mailbox.rst
@@ -188,8 +188,7 @@ the corresponding message is subsequently removed.
subclass.
-.. method:: Mailbox.has_key(key)
- Mailbox.__contains__(key)
+.. method:: Mailbox.__contains__(key)
Return ``True`` if *key* corresponds to a message, ``False`` otherwise.