From 955b8526f4e7c5a6c36bbeae16088a31eba8682b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 23 Apr 2016 00:17:09 +0300 Subject: [PATCH] docs/usocket: Socket-specific exceptions are for WiPy only. --- docs/library/usocket.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/library/usocket.rst b/docs/library/usocket.rst index 1968dbb208..f9fb1db5ee 100644 --- a/docs/library/usocket.rst +++ b/docs/library/usocket.rst @@ -42,11 +42,13 @@ Functions s = socket.socket() s.connect(socket.getaddrinfo('www.micropython.org', 80)[0][4]) -Exceptions ----------- +.. only:: port_wipy -.. data:: socket.error -.. data:: socket.timeout + Exceptions + ---------- + + .. data:: socket.error + .. data:: socket.timeout Constants ---------