297 @return flag indicating a seekable stream |
297 @return flag indicating a seekable stream |
298 @rtype bool |
298 @rtype bool |
299 """ |
299 """ |
300 return False |
300 return False |
301 |
301 |
302 def seek(self, offset, whence=0): # noqa: U100 |
302 def seek(self, offset, whence=0): # noqa: U-100 |
303 """ |
303 """ |
304 Public method to move the filepointer. |
304 Public method to move the filepointer. |
305 |
305 |
306 @param offset offset to move the file pointer to (unused) |
306 @param offset offset to move the file pointer to (unused) |
307 @type int |
307 @type int |
319 @exception OSError This method is not supported and always raises an |
319 @exception OSError This method is not supported and always raises an |
320 OSError. |
320 OSError. |
321 """ |
321 """ |
322 raise OSError((29, "[Errno 29] Illegal seek")) |
322 raise OSError((29, "[Errno 29] Illegal seek")) |
323 |
323 |
324 def truncate(self, size=-1): # noqa: U100 |
324 def truncate(self, size=-1): # noqa: U-100 |
325 """ |
325 """ |
326 Public method to truncate the file. |
326 Public method to truncate the file. |
327 |
327 |
328 @param size size to truncate to (unused) |
328 @param size size to truncate to (unused) |
329 @type int |
329 @type int |