mirror of https://github.com/m-labs/artiq.git
manual: fix table formatting
This commit is contained in:
parent
ab493a860d
commit
de11b3b7c7
|
@ -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
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Reference in New Issue