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 ab493a860d
commit de11b3b7c7
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 |
+===============+=========================+
| NoneType | TNone |
+-------------+---------------------------+
+---------------+-------------------------+
| bool | TBool |
+-------------+---------------------------+
+---------------+-------------------------+
| int | TInt32 or TInt64 |
+-------------+---------------------------+
+---------------+-------------------------+
| float | TFloat |
+-------------+---------------------------+
+---------------+-------------------------+
| str | TStr |
+-------------+---------------------------+
+---------------+-------------------------+
| list of T | TList(T) |
+-------------+---------------------------+
+---------------+-------------------------+
| range | TRange32, TRange64 |
+-------------+---------------------------+
+---------------+-------------------------+
| numpy.int32 | TInt32 |
+-------------+---------------------------+
+---------------+-------------------------+
| numpy.int64 | TInt64 |
+-------------+---------------------------+
+---------------+-------------------------+
| numpy.float64 | TFloat |
+-------------+---------------------------+
+---------------+-------------------------+
Pitfalls
--------