From a0c296f6d515b0a18306213cf64d9580875448f6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 9 Jun 2016 02:58:15 +0300 Subject: [PATCH] docs/machine.Pin: Disambiguate object call method. --- docs/library/machine.Pin.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.