File tree Expand file tree Collapse file tree 8 files changed +13
-11
lines changed Expand file tree Collapse file tree 8 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ pseudoxml:
204
204
all-source :
205
205
206
206
locale/circuitpython.pot : all-source
207
- find $(TRANSLATE_SOURCES ) -iname " *.c" -print0 | sort -z | xargs -0 xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
207
+ find $(TRANSLATE_SOURCES ) -iname " *.c" -print0 | (LC_ALL=C sort -z) | xargs -0 xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
208
208
209
209
translate : locale/circuitpython.pot
210
210
for po in $( shell ls locale/* .po) ; do msgmerge -U $$ po -s --no-fuzzy-matching --add-location=file locale/circuitpython.pot; done
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ Exceptions
182
182
183
183
.. exception :: OSError
184
184
185
- |see_cpython | ` OSError `. CircuitPython doesn't implement the ``errno ``
185
+ |see_cpython | :py:class: ` cpython: OSError `. CircuitPython doesn't implement the ``errno ``
186
186
attribute, instead use the standard way to access exception arguments:
187
187
``exc.args[0] ``.
188
188
@@ -198,11 +198,11 @@ Exceptions
198
198
199
199
.. exception :: SystemExit
200
200
201
- |see_cpython | :py:class: `python :SystemExit `.
201
+ |see_cpython | :py:class: `cpython :SystemExit `.
202
202
203
203
.. exception :: TypeError
204
204
205
- |see_cpython | :py:class: `python :TypeError `.
205
+ |see_cpython | :py:class: `cpython :TypeError `.
206
206
207
207
.. exception :: ValueError
208
208
Original file line number Diff line number Diff line change 49
49
//| =========================================================
50
50
//|
51
51
//| A DigitalInOut is used to digitally control I/O pins. For analog control of
52
- //| a pin, see the :py:class:`~digitalio .AnalogIn` and
53
- //| :py:class:`~digitalio .AnalogOut` classes.
52
+ //| a pin, see the :py:class:`analogio .AnalogIn` and
53
+ //| :py:class:`analogio .AnalogOut` classes.
54
54
//|
55
55
56
56
//| .. class:: DigitalInOut(pin)
Original file line number Diff line number Diff line change 43
43
//| :class:`Direction` -- defines the direction of a digital pin
44
44
//| =============================================================
45
45
//|
46
- //| .. class:: digitalio.DigitalInOut. Direction
46
+ //| .. class:: Direction
47
47
//|
48
48
//| Enum-like class to define which direction the digital values are
49
49
//| going.
Original file line number Diff line number Diff line change 31
31
//| :class:`DriveMode` -- defines the drive mode of a digital pin
32
32
//| =============================================================
33
33
//|
34
- //| .. class:: digitalio. DriveMode
34
+ //| .. class:: DriveMode
35
35
//|
36
36
//| Enum-like class to define the drive mode used when outputting
37
37
//| digital values.
Original file line number Diff line number Diff line change 31
31
//| :class:`Pull` -- defines the pull of a digital input pin
32
32
//| =============================================================
33
33
//|
34
- //| .. class:: digitalio. Pull
34
+ //| .. class:: Pull
35
35
//|
36
36
//| Enum-like class to define the pull value, if any, used while reading
37
37
//| digital values in.
Original file line number Diff line number Diff line change 78
78
//| The initialization sequence should always leave the display memory access inline with the scan
79
79
//| of the display to minimize tearing artifacts.
80
80
//|
81
- //| :param displayio.FourWire or displayio.ParallelBus display_bus: The bus that the display is connected to
81
+ //| :param display_bus: The bus that the display is connected to
82
+ //| :type display_bus: displayio.FourWire or displayio.ParallelBus
82
83
//| :param buffer init_sequence: Byte-packed initialization sequence.
83
84
//| :param int width: Width in pixels
84
85
//| :param int height: Height in pixels
@@ -182,6 +183,7 @@ static displayio_display_obj_t* native_display(mp_obj_t display_obj) {
182
183
//| Switches to displaying the given group of layers. When group is None, the default
183
184
//| CircuitPython terminal will be shown.
184
185
//|
186
+ //| :param Group group: The group to show.
185
187
STATIC mp_obj_t displayio_display_obj_show (mp_obj_t self_in , mp_obj_t group_in ) {
186
188
displayio_display_obj_t * self = native_display (self_in );
187
189
displayio_group_t * group = NULL ;
Original file line number Diff line number Diff line change 37
37
//|
38
38
//| Named tuple used to capture a single glyph and its attributes.
39
39
//|
40
- //| :param fontio .Bitmap bitmap: the bitmap including the glyph
40
+ //| :param displayio .Bitmap bitmap: the bitmap including the glyph
41
41
//| :param int tile_index: the tile index within the bitmap
42
42
//| :param int width: the width of the glyph's bitmap
43
43
//| :param int height: the height of the glyph's bitmap
You can’t perform that action at this time.
0 commit comments