forked from M-Labs/artiq
1
0
Fork 0

manual: fix table formatting

This commit is contained in:
Sebastien Bourdeauducq 2017-06-05 17:39:09 +08:00
parent 478972a001
commit 50413980d2
1 changed files with 10 additions and 10 deletions

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
-------- --------