summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/machine.PWM.rst4
-rw-r--r--docs/library/pyb.Pin.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/machine.PWM.rst b/docs/library/machine.PWM.rst
index 4c72255d8..793c074a3 100644
--- a/docs/library/machine.PWM.rst
+++ b/docs/library/machine.PWM.rst
@@ -23,7 +23,7 @@ Example usage::
Constructors
------------
-.. class:: PWM(dest, \*, freq, duty_u16, duty_ns)
+.. class:: PWM(dest, *, freq, duty_u16, duty_ns)
Construct and return a new PWM object using the following parameters:
@@ -42,7 +42,7 @@ Constructors
Methods
-------
-.. method:: PWM.init(\*, freq, duty_u16, duty_ns)
+.. method:: PWM.init(*, freq, duty_u16, duty_ns)
Modify settings for the PWM object. See the above constructor for details
about the parameters.
diff --git a/docs/library/pyb.Pin.rst b/docs/library/pyb.Pin.rst
index 23ede48ed..33b994e39 100644
--- a/docs/library/pyb.Pin.rst
+++ b/docs/library/pyb.Pin.rst
@@ -98,7 +98,7 @@ Class methods
Methods
-------
-.. method:: Pin.init(mode, pull=Pin.PULL_NONE, \*, value=None, alt=-1)
+.. method:: Pin.init(mode, pull=Pin.PULL_NONE, *, value=None, alt=-1)
Initialise the pin: