parameters: (self, size=None)
return_statement: return self._file.truncate(size)
docstring: Resize the stream to the given size in bytes.
  
  
  
          If size is unspecified resize to the current position.
  
          The current stream position isn't changed.
  
  
  
          Return the new file size.
docstring_summary: Resize the stream to the given size in bytes.
docstring_tokens: Resize the stream to the given size in bytes .
function: def truncate(self, size=None):
  
          # type: (Optional[int]) -> int
  
          """Resize the stream to the given size in bytes.
  
  
  
          If size is unspecified resize to the current position.
  
          The current stream position isn't changed.
  
  
  
          Return the new file size.
  
          """
  
          return self._file.truncate(size)
function_tokens: def truncate ( self , size = None ) : # type: (Optional[int]) -> int return self . _file . truncate ( size )