@@ -10,21 +10,21 @@ Functions
1010.. function :: exit(retval=0)
1111
1212 Terminate current program with a given exit code. Underlyingly, this
13- function raise as `` SystemExit ` ` exception. If an argument is given, its
14- value given as an argument to `` SystemExit ` `.
13+ function raise as `SystemExit ` exception. If an argument is given, its
14+ value given as an argument to `SystemExit `.
1515
1616.. function :: print_exception(exc, file=sys.stdout)
1717
18- Print exception with a traceback to a file-like object ` file ` (or
19- `` sys.stdout ` ` by default).
18+ Print exception with a traceback to a file-like object * file * (or
19+ `sys.stdout ` by default).
2020
2121 .. admonition :: Difference to CPython
2222 :class: attention
2323
2424 This is simplified version of a function which appears in the
2525 ``traceback `` module in CPython. Unlike ``traceback.print_exception() ``,
2626 this function takes just exception value instead of exception type,
27- exception value, and traceback object; ` file ` argument should be
27+ exception value, and traceback object; * file * argument should be
2828 positional; further arguments are not supported. CPython-compatible
2929 ``traceback `` module can be found in micropython-lib.
3030
@@ -37,15 +37,15 @@ Constants
3737
3838.. data :: byteorder
3939
40- The byte order of the system ("little" or "big").
40+ The byte order of the system (`` "little" `` or `` "big" `` ).
4141
4242.. data :: implementation
4343
4444 Object with information about the current Python implementation. For
4545 MicroPython, it has following attributes:
4646
47- * ` name ` - string "micropython"
48- * ` version ` - tuple (major, minor, micro), e.g. (1, 7, 0)
47+ * * name * - string "micropython"
48+ * * version * - tuple (major, minor, micro), e.g. (1, 7, 0)
4949
5050 This object is the recommended way to distinguish MicroPython from other
5151 Python implementations (note that it still may not exist in the very
@@ -95,10 +95,10 @@ Constants
9595
9696 The platform that MicroPython is running on. For OS/RTOS ports, this is
9797 usually an identifier of the OS, e.g. ``"linux" ``. For baremetal ports it
98- is an identifier of a board, e.g. "pyboard" for the original MicroPython
98+ is an identifier of a board, e.g. `` "pyboard" `` for the original MicroPython
9999 reference board. It thus can be used to distinguish one board from another.
100100 If you need to check whether your program runs on MicroPython (vs other
101- Python implementation), use `` sys.implementation ` ` instead.
101+ Python implementation), use `sys.implementation ` instead.
102102
103103.. data :: stderr
104104
0 commit comments