File tree Expand file 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 99
1010This module provides access to the BSD socket interface.
1111
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-
1812.. admonition :: Difference to CPython
1913 :class: attention
2014
@@ -250,3 +244,13 @@ Methods
250244 the length of *buf *.
251245
252246 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