DebugClients/Python3/AsyncFile.py

changeset 5161
f7b6ded9cc37
parent 5131
889ed5ff7a68
equal deleted inserted replaced
5160:d8908660fc65 5161:f7b6ded9cc37
272 272
273 def truncate(self, size=-1): 273 def truncate(self, size=-1):
274 """ 274 """
275 Public method to truncate the file. 275 Public method to truncate the file.
276 276
277 @param size size to truncaze to (integer) 277 @param size size to truncate to (integer)
278 @exception IOError This method is not supported and always raises an 278 @exception IOError This method is not supported and always raises an
279 IOError. 279 IOError.
280 """ 280 """
281 raise IOError((29, '[Errno 29] Illegal seek')) 281 raise IOError((29, '[Errno 29] Illegal seek'))
282 282

eric ide

mercurial