diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-04 18:36:20 +0200 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-04 18:36:20 +0200 |
| commit | 3ff7040c8ab268777e940a9bed4aa7c24f50ba31 (patch) | |
| tree | 62b3ebd4ae307e592f94fc0b923f009e43b4b0c6 /docs/library/usocket.rst | |
| parent | 75d3c046dafa84dad51ed757f832c2dad2934bf9 (diff) | |
docs/library: Add xrefs to "stream" dictionary entry for many modules.
Diffstat (limited to 'docs/library/usocket.rst')
| -rw-r--r-- | docs/library/usocket.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/usocket.rst b/docs/library/usocket.rst index fab05b652..de55fc14c 100644 --- a/docs/library/usocket.rst +++ b/docs/library/usocket.rst @@ -12,7 +12,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, @@ -248,7 +248,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 |
