Exemplo n.º 1
0
 def write(self, data):
     FakeFile._data = data
     BytesIO.flush(self)
     BytesIO.write(self, data)
Exemplo n.º 2
0
 def free(self):
     BytesIO.close(self)
Exemplo n.º 3
0
 def write(self, data):
     FakeFile._data = data
     BytesIO.flush(self)
     BytesIO.write(self, data)