-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharray.py
77 lines (53 loc) · 1.82 KB
/
array.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
"""
Module: 'array' on esp32 1.11.0
"""
# MCU: (sysname='esp32', nodename='esp32', release='1.11.0', version='v1.11-580-g973f68780 on 2019-11-17', machine='ESP32 module with ESP32')
# Stubber: 1.3.2
class array:
"""
Create array with elements of given type. Initial contents of the array are given by iterable. If it is not provided, an empty array is created.
"""
def append(self, val):
"""
Append new element val to the end of array, growing it.
Parameters
----------
- val : new element to append
http://docs.micropython.org/en/latest/library/uarray.html#uarray.array.append
"""
pass
def decode(self):
pass
def extend(self, val):
"""
Append new elements as contained in iterable to the end of array, growing it.
Parameters
----------
- val : new element to append
http://docs.micropython.org/en/latest/library/uarray.html#uarray.array.extend
"""
pass
class uarray:
"""
Create array with elements of given type. Initial contents of the array are given by iterable. If it is not provided, an empty array is created.
"""
def append(self, val):
"""
Append new element val to the end of array, growing it.
Parameters
----------
- val : new element to append
http://docs.micropython.org/en/latest/library/uarray.html#uarray.array.append
"""
pass
def decode(self):
pass
def extend(self, val):
"""
Append new elements as contained in iterable to the end of array, growing it.
Parameters
----------
- val : new element to append
http://docs.micropython.org/en/latest/library/uarray.html#uarray.array.extend
"""
pass