2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-18 16:06:30 +08:00

RELEASE_NOTES: deprecated ndecimals

This commit is contained in:
Simon Renblad 2023-07-18 10:40:43 +08:00 committed by Sébastien Bourdeauducq
parent 3d0feef614
commit a2d62e6006

View File

@ -68,6 +68,9 @@ Old syntax should be replaced with the form shown on the right.
data[key][1] ==> value[key] data[key][1] ==> value[key]
data[key][2] ==> metadata[key] data[key][2] ==> metadata[key]
* The ``ndecimals`` parameter in ``NumberValue`` and ``Scannable`` has been renamed to ``precision``.
Parameters after and including ``scale`` in both constructors are now keyword-only.
Refer to the updated ``no_hardware/arguments_demo.py`` example for current usage.
ARTIQ-7 ARTIQ-7