DebugClients/Python/AsyncFile.py

branch
5_0_x
changeset 807
ecc71fdd67f1
parent 792
a13346916170
equal deleted inserted replaced
806:30db18b3c78b 807:ecc71fdd67f1
6 """ 6 """
7 Module implementing an asynchronous file like socket interface for the debugger. 7 Module implementing an asynchronous file like socket interface for the debugger.
8 """ 8 """
9 9
10 import socket 10 import socket
11 import sys 11
12 12 from DebugProtocol import EOT
13 from DebugProtocol import EOT, RequestOK
14
15 13
16 def AsyncPendingWrite(file): 14 def AsyncPendingWrite(file):
17 """ 15 """
18 Module function to check for data to be written. 16 Module function to check for data to be written.
19 17
288 Public method to write a list of strings to the file. 286 Public method to write a list of strings to the file.
289 287
290 @param list the list to be written (list of string) 288 @param list the list to be written (list of string)
291 """ 289 """
292 map(self.write,list) 290 map(self.write,list)
291
292 #
293 # eflag: FileType = Python2

eric ide

mercurial