2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

manual: fix table formatting

This commit is contained in:
Sebastien Bourdeauducq 2017-06-05 17:39:09 +08:00
parent 478972a001
commit 50413980d2

View File

@ -34,25 +34,25 @@ The Python types correspond to ARTIQ type annotations as follows:
| Python | ARTIQ | | Python | ARTIQ |
+===============+=========================+ +===============+=========================+
| NoneType | TNone | | NoneType | TNone |
+-------------+---------------------------+ +---------------+-------------------------+
| bool | TBool | | bool | TBool |
+-------------+---------------------------+ +---------------+-------------------------+
| int | TInt32 or TInt64 | | int | TInt32 or TInt64 |
+-------------+---------------------------+ +---------------+-------------------------+
| float | TFloat | | float | TFloat |
+-------------+---------------------------+ +---------------+-------------------------+
| str | TStr | | str | TStr |
+-------------+---------------------------+ +---------------+-------------------------+
| list of T | TList(T) | | list of T | TList(T) |
+-------------+---------------------------+ +---------------+-------------------------+
| range | TRange32, TRange64 | | range | TRange32, TRange64 |
+-------------+---------------------------+ +---------------+-------------------------+
| numpy.int32 | TInt32 | | numpy.int32 | TInt32 |
+-------------+---------------------------+ +---------------+-------------------------+
| numpy.int64 | TInt64 | | numpy.int64 | TInt64 |
+-------------+---------------------------+ +---------------+-------------------------+
| numpy.float64 | TFloat | | numpy.float64 | TFloat |
+-------------+---------------------------+ +---------------+-------------------------+
Pitfalls Pitfalls
-------- --------