290 @return flag indicating a seekable stream |
290 @return flag indicating a seekable stream |
291 @rtype bool |
291 @rtype bool |
292 """ |
292 """ |
293 return False |
293 return False |
294 |
294 |
295 def seek(self, offset, whence=0): |
295 def seek(self, offset, whence=0): # noqa: U100 |
296 """ |
296 """ |
297 Public method to move the filepointer. |
297 Public method to move the filepointer. |
298 |
298 |
299 @param offset offset to move the filepointer to |
299 @param offset offset to move the filepointer to |
300 @type int |
300 @type int |
312 @exception OSError This method is not supported and always raises an |
312 @exception OSError This method is not supported and always raises an |
313 OSError. |
313 OSError. |
314 """ |
314 """ |
315 raise OSError((29, "[Errno 29] Illegal seek")) |
315 raise OSError((29, "[Errno 29] Illegal seek")) |
316 |
316 |
317 def truncate(self, size=-1): |
317 def truncate(self, size=-1): # noqa: U100 |
318 """ |
318 """ |
319 Public method to truncate the file. |
319 Public method to truncate the file. |
320 |
320 |
321 @param size size to truncate to |
321 @param size size to truncate to |
322 @type int |
322 @type int |