From 2e58474580fe459c03e52c7662d28786f3885fdf Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 9 Apr 2017 00:48:28 +0300 Subject: docs/usocket: Deconditionalize. Notes on WiPy incompatibilities with the standard socket module API are moved under "Known issues" to its documentation. --- docs/library/usocket.rst | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'docs/library') diff --git a/docs/library/usocket.rst b/docs/library/usocket.rst index dd0f5708b..71deaebc4 100644 --- a/docs/library/usocket.rst +++ b/docs/library/usocket.rst @@ -41,18 +41,6 @@ Functions Create a new socket using the given address family, socket type and protocol number. - .. only:: port_wipy - - .. note:: - - SSL sockets need to be created the following way before wrapping them with - ``ssl.wrap_socket``:: - - import socket - import ssl - s = socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_SEC) - ss = ssl.wrap_socket(s) - .. function:: socket.getaddrinfo(host, port) Translate the host/port argument into a sequence of 5-tuples that contain all the -- cgit v1.2.3