docs/library/machine.Timer.rst: Document 'id' as positional-only arg.
Signed-off-by: Michael Buesch <m@bues.ch>
This commit is contained in:
parent
d94ac4333f
commit
e7900351bf
@ -27,10 +27,11 @@ instead of this class.
|
|||||||
Constructors
|
Constructors
|
||||||
------------
|
------------
|
||||||
|
|
||||||
.. class:: Timer(id, ...)
|
.. class:: Timer(id, /, ...)
|
||||||
|
|
||||||
Construct a new timer object of the given id. Id of -1 constructs a
|
Construct a new timer object of the given ``id``. ``id`` of -1 constructs a
|
||||||
virtual timer (if supported by a board).
|
virtual timer (if supported by a board).
|
||||||
|
``id`` shall not be passed as a keyword argument.
|
||||||
|
|
||||||
See ``init`` for parameters of initialisation.
|
See ``init`` for parameters of initialisation.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user