| 1 |
.. mypyc documentation master file, created by |
| 2 |
sphinx-quickstart on Sun Apr 5 14:01:55 2020. |
| 3 |
You can adapt this file completely to your liking, but it should at least |
| 4 |
contain the root `toctree` directive. |
| 5 |
|
| 6 |
Welcome to mypyc documentation! |
| 7 |
=============================== |
| 8 |
|
| 9 |
Mypyc compiles Python modules to C extensions. It uses standard Python |
| 10 |
`type hints |
| 11 |
<https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html>`_ to |
| 12 |
generate fast code. |
| 13 |
|
| 14 |
.. toctree:: |
| 15 |
:maxdepth: 2 |
| 16 |
:caption: First steps |
| 17 |
|
| 18 |
introduction |
| 19 |
getting_started |
| 20 |
|
| 21 |
.. toctree:: |
| 22 |
:maxdepth: 2 |
| 23 |
:caption: Using mypyc |
| 24 |
|
| 25 |
using_type_annotations |
| 26 |
native_classes |
| 27 |
differences_from_python |
| 28 |
compilation_units |
| 29 |
|
| 30 |
.. toctree:: |
| 31 |
:maxdepth: 2 |
| 32 |
:caption: librt: Runtime Library reference |
| 33 |
|
| 34 |
librt |
| 35 |
librt_base64 |
| 36 |
librt_random |
| 37 |
librt_strings |
| 38 |
librt_threading |
| 39 |
librt_time |
| 40 |
librt_vecs |
| 41 |
|
| 42 |
.. toctree:: |
| 43 |
:maxdepth: 2 |
| 44 |
:caption: Native operations reference |
| 45 |
|
| 46 |
native_operations |
| 47 |
int_operations |
| 48 |
bool_operations |
| 49 |
float_operations |
| 50 |
str_operations |
| 51 |
bytes_operations |
| 52 |
bytearray_operations |
| 53 |
list_operations |
| 54 |
dict_operations |
| 55 |
set_operations |
| 56 |
tuple_operations |
| 57 |
frozenset_operations |
| 58 |
|
| 59 |
.. toctree:: |
| 60 |
:maxdepth: 2 |
| 61 |
:caption: Advanced topics |
| 62 |
|
| 63 |
performance_tips_and_tricks |
| 64 |
|
| 65 |
.. toctree:: |
| 66 |
:hidden: |
| 67 |
:caption: Project Links |
| 68 |
|
| 69 |
GitHub <https://github.com/python/mypy> |
| 70 |
|
| 71 |
Indices and tables |
| 72 |
================== |
| 73 |
|
| 74 |
* :ref:`genindex` |
| 75 |
* :ref:`modindex` |
| 76 |
* :ref:`search` |