(self, pos=None)
Truncate file to size bytes.

        Size defaults to the current IO position as reported by tell().  Return
        the new size.
Truncate file to size bytes.
Truncate file to size bytes .
def truncate(self, pos=None):
        """Truncate file to size bytes.

        Size defaults to the current IO position as reported by tell().  Return
        the new size.
        """
        self._unsupported("truncate")
def truncate ( self , pos = None ) : self . _unsupported ( "truncate" )