Add os, "socket", atexit, ssl, struct, traceback, math links

This commit is contained in:
Alec Delaney 2022-05-03 12:31:20 -06:00 committed by GitHub
parent de7a90ab00
commit bbc29e84a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 15 deletions

View File

@ -34,6 +34,7 @@
//| These functions are run in the reverse order in which they were registered;
//| if you register ``A``, ``B``, and ``C``, they will be run in the order ``C``, ``B``, ``A``.
//|
//| |see_cpython_module| :mod:`cpython:atexit`.
//| """
//| ...
//|

View File

@ -43,12 +43,7 @@
//| The `math` module provides some basic mathematical functions for
//| working with floating-point numbers.
//|
//| This library is a subset of the CPython library. All code using this
//| library should function in CPython, but not necessarily the other way
//| around. For more information about the `math` module, see the
//| CPython documentation:
//|
//| https://docs.python.org/3/library/math.html
//| |see_cpython_module| :mod:`cpython:math`.
//| """
//|

View File

@ -39,12 +39,7 @@
//| """functions that an OS normally provides
//|
//| The `os` module is a strict subset of the CPython `cpython:os` module. So,
//| code written in CircuitPython will work in CPython but not necessarily the
//| other way around.
//|
//| For more information about the `os` module, see the CPython documentation:
//| https://docs.python.org/3/library/os.html
//| |see_cpython_module| :mod:`cpython:os`.
//| """
//|
//| import typing

View File

@ -35,6 +35,9 @@
//| """
//| The `socketpool` module provides sockets through a pool. The pools themselves
//| act like CPython's `socket` module.
//|
//| For more infomration about the `socket` module, see the CPython documentation:
//| https://docs.python.org/3/library/socket.html
//| """
//|

View File

@ -33,6 +33,13 @@
//| """
//| The `ssl` module provides SSL contexts to wrap sockets in.
//|
//| This module is a strict subset of the CPython `ssl` module.
//| So, code written in CircuitPython will work in CPython but not
//| necessarily the other way around.
//|
//| For more information about the `ssl` module see the CPython documentation
//| https://docs.python.org/3/library/ssl.html
//| """
//|

View File

@ -40,9 +40,7 @@
//| """Manipulation of c-style data
//|
//| This module implements a subset of the corresponding CPython module,
//| as described below. For more information, refer to the original CPython
//| documentation: struct.
//| |see_cpython_module| :mod:`cpython:struct`.
//|
//| Supported size/byte order prefixes: *@*, *<*, *>*, *!*.
//|

View File

@ -34,6 +34,7 @@
//| This module provides a standard interface to print stack traces of programs.
//| This is useful when you want to print stack traces under program control.
//|
//| |see_cpython_module| :mod:`cpython:traceback`.
//| """
//| ...
//|