diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 16:00:12 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 16:00:12 +0300 |
commit | 585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213 (patch) | |
tree | 553636530ad00033b77d1fed4c8e437377cae377 | |
parent | 0d8c22b122cf044e9bbb561d84ef614150a176e5 (diff) | |
download | micropython-585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213.tar.gz micropython-585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213.zip |
docs/pyb.ExtInt,pyb.Pin: Mark up class methods as such.
-rw-r--r-- | docs/library/pyb.ExtInt.rst | 2 | ||||
-rw-r--r-- | docs/library/pyb.Pin.rst | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/library/pyb.ExtInt.rst b/docs/library/pyb.ExtInt.rst index 8344a14c2e..89db62e464 100644 --- a/docs/library/pyb.ExtInt.rst +++ b/docs/library/pyb.ExtInt.rst @@ -72,7 +72,7 @@ Constructors Class methods ------------- -.. method:: ExtInt.regs() +.. classmethod:: ExtInt.regs() Dump the values of the EXTI registers. diff --git a/docs/library/pyb.Pin.rst b/docs/library/pyb.Pin.rst index c5e91e0b16..50d52eff34 100644 --- a/docs/library/pyb.Pin.rst +++ b/docs/library/pyb.Pin.rst @@ -86,15 +86,15 @@ Constructors Class methods ------------- - .. method:: Pin.debug([state]) + .. classmethod:: Pin.debug([state]) Get or set the debugging state (``True`` or ``False`` for on or off). - .. method:: Pin.dict([dict]) + .. classmethod:: Pin.dict([dict]) Get or set the pin mapper dictionary. - .. method:: Pin.mapper([fun]) + .. classmethod:: Pin.mapper([fun]) Get or set the pin mapper function. |