From 0d8c22b122cf044e9bbb561d84ef614150a176e5 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 8 Jun 2016 15:57:46 +0300 Subject: [PATCH] docs/pyb.Pin: af_list() is a normal method, not a class method. --- docs/library/pyb.Pin.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/library/pyb.Pin.rst b/docs/library/pyb.Pin.rst index 65ae601bed..c5e91e0b16 100644 --- a/docs/library/pyb.Pin.rst +++ b/docs/library/pyb.Pin.rst @@ -85,11 +85,7 @@ Constructors Class methods ------------- - - .. method:: Pin.af_list() - - Returns an array of alternate functions available for this pin. - + .. method:: Pin.debug([state]) Get or set the debugging state (``True`` or ``False`` for on or off). @@ -179,6 +175,10 @@ Methods Get the pin port. + .. method:: Pin.af_list() + + Returns an array of alternate functions available for this pin. + .. method:: pin.pull() Returns the currently configured pull of the pin. The integer returned