summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.Pin.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/machine.Pin.rst')
-rw-r--r--docs/library/machine.Pin.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index 6d6fb860d3..21e5323d5b 100644
--- a/docs/library/machine.Pin.rst
+++ b/docs/library/machine.Pin.rst
@@ -130,7 +130,7 @@ Methods
anything that converts to a boolean. If it converts to ``True``, the pin
is set high, otherwise it is set low.
-.. method:: pin([value])
+.. method:: Pin.__call__([value])
Pin objects are callable. The call method provides a (fast) shortcut to set and get the value of the pin.
See :func:`Pin.value` for more details.