spelling
This commit is contained in:
parent
cd3ca6b6a6
commit
8e00c69cdf
|
@ -75,7 +75,7 @@ Classes
|
|||
Returns the string representation of the array, called as ``str(a)`` or ``repr(a)```
|
||||
(where ``a`` is an ``array``). Returns the string ``"array(<type>, [<elements>])"``,
|
||||
where ``<type>`` is the type code letter for the array and ``<elements>`` is a comma
|
||||
seperated list of the elements of the array.
|
||||
separated list of the elements of the array.
|
||||
|
||||
**Note:** ``__repr__`` cannot be called directly (``a.__repr__()`` fails) and
|
||||
is not present in ``__dict__``, however ``str(a)`` and ``repr(a)`` both work.
|
||||
|
|
|
@ -767,7 +767,7 @@ STATIC const mp_rom_map_elem_t bytearray_locals_dict_table[] = {
|
|||
#endif
|
||||
};
|
||||
|
||||
STATIC MP_DEFINE_CONST_DICT(bytearray_locals_dict, bytearray_locals_dict_table);
|
||||
MP_DEFINE_CONST_DICT(bytearray_locals_dict, bytearray_locals_dict_table);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue