diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-07-02 15:37:31 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-07-02 15:37:31 +0300 |
commit | 465d84b7e72c9fe4a8907ee539f736ff576d9dd6 (patch) | |
tree | 40ca414532037f207b5a8173fb5839d2afac56c6 /docs/library/builtins.rst | |
parent | ebce7984c66b4d977f4540506e243cf65a80db2f (diff) |
docs/library: Add CPython docs xref to each pertinent module.
Cross-reference text/link is implemented as RST substitution, so easy to
consistently.
Diffstat (limited to 'docs/library/builtins.rst')
-rw-r--r-- | docs/library/builtins.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst index 658d46ecd..365248dc7 100644 --- a/docs/library/builtins.rst +++ b/docs/library/builtins.rst @@ -21,6 +21,8 @@ Functions and types .. class:: bytes() + |see_cpython| `python:bytes`. + .. function:: callable() .. function:: chr() @@ -174,6 +176,10 @@ Exceptions .. exception:: OSError + |see_cpython| `python:OSError`. MicroPython doesn't implement ``errno`` + attribute, instead use the standard way to access exception arguments: + ``exc.args[0]``. + .. exception:: RuntimeError .. exception:: StopIteration @@ -182,8 +188,12 @@ Exceptions .. exception:: SystemExit + |see_cpython| `python:SystemExit`. + .. exception:: TypeError + |see_cpython| `python:TypeError`. + .. exception:: ValueError .. exception:: ZeroDivisionError |