Sun, 25 Aug 2019 19:25:37 +0200
Started to add the stubs for MicroPython.
2
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1 | # -*- coding: utf-8 -*- |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | # |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | """ |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | Module containing stubs for API generation of the def 'uiodef' module. |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | """ |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | def open(name, mode='r', **kwargs): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | class FileIO(): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | def __init__(self, name, mode='r', **kwargs): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | def close(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | def flush(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | def read(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | def readinto(self, b): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
27 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
28 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
29 | def readline(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
31 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
32 | def readlines(self, hint=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
35 | def seek(self, offset, whence=0): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | def tell(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | def write(self, b): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
42 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
43 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | class TextIOWrapper(): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
45 | def __init__(self, name, mode='r', **kwargs): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | def close(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | def flush(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | def read(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | def readinto(self, b): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
59 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | def readline(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | def readlines(self, hint=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | def seek(self, offset, whence=0): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | def tell(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
72 | def write(self, s): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
75 | class StringIO(): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | def __init__(self, initial_value=""): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
78 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | def close(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
80 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
81 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
82 | def flush(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
83 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
84 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
85 | def getvalue(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
86 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
87 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
88 | def read(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
89 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
90 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
91 | def readinto(self, b): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
92 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
93 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
94 | def readline(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
95 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
96 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
97 | def seek(self, offset, whence=0): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
98 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
99 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
100 | def write(self, s): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
101 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
102 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
103 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
104 | class BytesIO(): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
105 | def __init__(self, initial_value=b""): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
106 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
107 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
108 | def close(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
109 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
110 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
111 | def flush(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
112 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
113 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
114 | def getvalue(self): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
115 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
116 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
117 | def read(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
118 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
119 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
120 | def readinto(self, b): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
121 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
122 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
123 | def readline(self, size=-1): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
124 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
125 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
126 | def seek(self, offset, whence=0): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
127 | pass |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
128 | |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
129 | def write(self, b): |
2c3f30af031d
Started to add the stubs for MicroPython.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
130 | pass |