audiosegment.py
def serialize(self):
        """
        Serializes into a bytestring.

        :returns: An object of type Bytes.
        """
        d = self.__getstate__()
        return pickle.dumps({
            'name': d['name'],
            'seg': pickle.dumps(d['seg'], protocol=-1),
        }, protocol=-1)
def serialize(self):
        d = self.__getstate__()
        return pickle.dumps({
            'name': d['name'],
            'seg': pickle.dumps(d['seg'], protocol=-1),
        }, protocol=-1)
def serialize ( self ) : d = self . __getstate__ ( ) return pickle . dumps ( { 'name' : d [ 'name' ] , 'seg' : pickle . dumps ( d [ 'seg' ] , protocol = - 1 ) , } , protocol = - 1 )
Serializes into a bytestring.

        :returns: An object of type Bytes.
Serializes into a bytestring .