docs/library/esp32.rst: Mark esp32.Partition as not taking kw args.

Fixes issue #8380.

Signed-off-by: Damien George <damien@micropython.org>
pull/8350/head
Damien George 2022-03-07 15:15:45 +11:00
rodzic eadc927baf
commit bb2bd071f7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -68,7 +68,7 @@ Flash partitions
This class gives access to the partitions in the device's flash memory and includes This class gives access to the partitions in the device's flash memory and includes
methods to enable over-the-air (OTA) updates. methods to enable over-the-air (OTA) updates.
.. class:: Partition(id, block_size=4096) .. class:: Partition(id, block_size=4096, /)
Create an object representing a partition. *id* can be a string which is the label Create an object representing a partition. *id* can be a string which is the label
of the partition to retrieve, or one of the constants: ``BOOT`` or ``RUNNING``. of the partition to retrieve, or one of the constants: ``BOOT`` or ``RUNNING``.