File tree Expand f
8000
ile tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
This module provides access to the BSD socket interface.
11
11
12
- .. admonition :: Difference to CPython
13
- :class: attention
14
-
15
- CPython used to have a ``socket.error `` exception which is now deprecated,
16
- and is an alias of `OSError `. In MicroPython, use `OSError ` directly.
17
-
18
12
.. admonition :: Difference to CPython
19
13
:class: attention
20
14
@@ -250,3 +244,13 @@ Methods
250
244
the length of *buf *.
251
245
252
246
Return value: number of bytes written.
247
+
248
+ .. exception :: socket.error
249
+
250
+ MicroPython does NOT have this exception.
251
+
252
+ .. admonition :: Difference to CPython
253
+ :class: attention
254
+
255
+ CPython used to have a ``socket.error `` exception which is now deprecated,
256
+ and is an alias of `OSError `. In MicroPython, use `OSError ` directly.
You can’t perform that action at this time.
0 commit comments