mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
docs: Use the correct * keyword-only notation.
This commit is contained in:
committed by
Damien George
parent
a41abd94dc
commit
cd0531c533
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user