summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-09 00:48:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-09 00:48:28 +0300
commit2e58474580fe459c03e52c7662d28786f3885fdf (patch)
treee550927a1e8798f584765a3d4828f8f833facc0e /docs/library
parent3acace588a51b5f45a28ae3f63d662b6be0e8d4d (diff)
downloadmicropython-2e58474580fe459c03e52c7662d28786f3885fdf.tar.gz
micropython-2e58474580fe459c03e52c7662d28786f3885fdf.zip
docs/usocket: Deconditionalize.
Notes on WiPy incompatibilities with the standard socket module API are moved under "Known issues" to its documentation.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/usocket.rst12
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/library/usocket.rst b/docs/library/usocket.rst
index dd0f5708ba..71deaebc41 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