diff -r 3e7f88550788 Doc/library/smtplib.rst --- a/Doc/library/smtplib.rst Thu Aug 28 12:30:00 2014 -0400 +++ b/Doc/library/smtplib.rst Fri Aug 29 13:35:23 2014 -0700 @@ -268,8 +268,8 @@ commands that follow will be encrypted. You should then call :meth:`ehlo` again. - If *keyfile* and *certfile* are provided, these are passed to the :mod:`socket` - module's :func:`ssl` function. + If *keyfile* and *certfile* are provided, these are passed to the :mod:`ssl` + module's :func:`~ssl.wrap_socket` function. If there has been no previous ``EHLO`` or ``HELO`` command this session, this method tries ESMTP ``EHLO`` first.