summaryrefslogtreecommitdiff
path: root/docs/library/usocket.rst
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-29 16:47:06 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-29 16:47:06 -0400
commitc76a4d477fdfd939f144c036479a6d0bde3543c0 (patch)
tree5fe406cc9ecf94e34d1c088df62f6cee7f48854b /docs/library/usocket.rst
parentbfbb5cde5a7e629d80a58fc75f8c15b7c45e5503 (diff)
remove qemu-arm build; fix docs build bugs
Diffstat (limited to 'docs/library/usocket.rst')
-rw-r--r--docs/library/usocket.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/usocket.rst b/docs/library/usocket.rst
index 582742f2e..2751db6c4 100644
--- a/docs/library/usocket.rst
+++ b/docs/library/usocket.rst
@@ -14,7 +14,7 @@ This module provides access to the BSD socket interface.
.. admonition:: Difference to CPython
:class: attention
- For efficiency and consistency, socket objects in MicroPython implement a `stream`
+ For efficiency and consistency, socket objects in MicroPython implement a ``stream``
(file-like) interface directly. In CPython, you need to convert a socket to
a file-like object using `makefile()` method. This method is still supported
by MicroPython (but is a no-op), so where compatibility with CPython matters,
@@ -245,7 +245,7 @@ Methods
Not every ``MicroPython port`` supports this method. A more portable and
generic solution is to use `uselect.poll` object. This allows to wait on
multiple objects at the same time (and not just on sockets, but on generic
- `stream` objects which support polling). Example::
+ ``stream`` objects which support polling). Example::
# Instead of:
s.settimeout(1.0) # time in seconds