Skip to content

Commit 585aafc

Browse files
committed
docs/pyb.ExtInt,pyb.Pin: Mark up class methods as such.
1 parent 0d8c22b commit 585aafc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/library/pyb.ExtInt.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Constructors
7272
Class methods
7373
-------------
7474

75-
.. method:: ExtInt.regs()
75+
.. classmethod:: ExtInt.regs()
7676

7777
Dump the values of the EXTI registers.
7878

docs/library/pyb.Pin.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ Constructors
8686
Class methods
8787
-------------
8888

89-
.. method:: Pin.debug([state])
89+
.. classmethod:: Pin.debug([state])
9090

9191
Get or set the debugging state (``True`` or ``False`` for on or off).
9292

93-
.. method:: Pin.dict([dict])
93+
.. classmethod:: Pin.dict([dict])
9494

9595
Get or set the pin mapper dictionary.
9696

97-
.. method:: Pin.mapper([fun])
97+
.. classmethod:: Pin.mapper([fun])
9898

9999
Get or set the pin mapper function.
100100

0 commit comments

Comments
 (0)