DebugClients/Python/AsyncFile.py

changeset 4563
881340f4bd0c
parent 4543
2e6a880670e9
child 4631
5c1a96925da4
equal deleted inserted replaced
4561:5bc6ed226471 4563:881340f4bd0c
20 @param file The file object to be checked (file) 20 @param file The file object to be checked (file)
21 @return Flag indicating if there is data wating (int) 21 @return Flag indicating if there is data wating (int)
22 """ 22 """
23 try: 23 try:
24 pending = file.pendingWrite() 24 pending = file.pendingWrite()
25 except: 25 except Exception:
26 pending = 0 26 pending = 0
27 27
28 return pending 28 return pending
29 29
30 30

eric ide

mercurial