From f1eb672d887e8d71504b9dcfd397e340b556afb3 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 8 Jun 2016 16:36:22 +0300 Subject: [PATCH] docs/pyb.Pin: Sort .af() and .af_list() methods together. --- docs/library/pyb.Pin.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/library/pyb.Pin.rst b/docs/library/pyb.Pin.rst index 30ffccdbd4..154217ebb7 100644 --- a/docs/library/pyb.Pin.rst +++ b/docs/library/pyb.Pin.rst @@ -148,6 +148,10 @@ Methods Returns the currently configured alternate-function of the pin. The integer returned will match one of the allowed constants for the af argument to the init function. + + .. method:: Pin.af_list() + + Returns an array of alternate functions available for this pin. .. method:: Pin.gpio() @@ -174,10 +178,6 @@ Methods .. method:: Pin.port() Get the pin port. - - .. method:: Pin.af_list() - - Returns an array of alternate functions available for this pin. .. method:: Pin.pull()