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