Skip to content

Commit f1eb672

Browse files
committed
docs/pyb.Pin: Sort .af() and .af_list() methods together.
1 parent a384a53 commit f1eb672

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/library/pyb.Pin.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ Methods
148148
Returns the currently configured alternate-function of the pin. The
149149
integer returned will match one of the allowed constants for the af
150150
argument to the init function.
151+
152+
.. method:: Pin.af_list()
153+
154+
Returns an array of alternate functions available for this pin.
151155

152156
.. method:: Pin.gpio()
153157

@@ -174,10 +178,6 @@ Methods
174178
.. method:: Pin.port()
175179

176180
Get the pin port.
177-
178-
.. method:: Pin.af_list()
179-
180-
Returns an array of alternate functions available for this pin.
181181

182182
.. method:: Pin.pull()
183183

0 commit comments

Comments
 (0)