Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index 871a5f8..e494a71 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -200,7 +200,7 @@
    No exception is raised if the named field isn't present in the headers.
 
 
-.. method:: Message.has_key(name)
+.. method:: Message.__contains__(name)
 
    Return true if the message contains a header field named *name*, otherwise
    return false.