From e7900351bf954f5af939981d5c6c978636073950 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 31 Aug 2020 17:12:38 +0200 Subject: [PATCH] docs/library/machine.Timer.rst: Document 'id' as positional-only arg. Signed-off-by: Michael Buesch --- docs/library/machine.Timer.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/library/machine.Timer.rst b/docs/library/machine.Timer.rst index 77a549b40b..d1709a8189 100644 --- a/docs/library/machine.Timer.rst +++ b/docs/library/machine.Timer.rst @@ -27,11 +27,12 @@ instead of this class. 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). - + ``id`` shall not be passed as a keyword argument. + See ``init`` for parameters of initialisation. Methods