Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Oops, remove duplicated documentation
  • Loading branch information
vstinner committed Jul 21, 2017
commit 95c40ccbb88d2abe886e12033e3cc3e1ad10db70
16 changes: 0 additions & 16 deletions Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1065,22 +1065,6 @@ SSL sockets also have the following additional methods and attributes:

.. versionadded:: 2.7.9

.. attribute:: SSLSocket.server_hostname

A ``bytes`` instance containing the ``'idna'`` encoded version of the
hostname specified in the *server_hostname* argument in
:meth:`SSLContext.wrap_socket`. If no *server_hostname* was specified, this
attribute will be ``None``.

.. versionadded:: 2.7.9

.. attribute:: SSLSocket.server_side

A boolean which is ``True`` for server-side sockets and ``False`` for
client-side sockets.

.. versionadded:: 2.7.9

.. attribute:: SSLSocket.server_hostname

Hostname of the server: :class:`str` type, or ``None`` for server-side
Expand Down