##// END OF EJS Templates
util_win32: implement posixfile_nt.writelines()...
Patrick Mezard -
r5847:e52383c7 default
parent child Browse files
Show More
@@ -285,6 +285,10 b' class posixfile_nt(object):'
285 except pywintypes.error, err:
285 except pywintypes.error, err:
286 raise WinIOError(err)
286 raise WinIOError(err)
287
287
288 def writelines(self, sequence):
289 for s in sequence:
290 self.write(s)
291
288 def seek(self, pos, whence=0):
292 def seek(self, pos, whence=0):
289 try:
293 try:
290 win32file.SetFilePointer(self.handle, int(pos), whence)
294 win32file.SetFilePointer(self.handle, int(pos), whence)
General Comments 0
You need to be logged in to leave comments. Login now