Next / Previous / Contents / Shipman's homepage

40. Elt.__enter__()

This method is required because the class is a context manager. It returns the instance, in case anyone cares.

sox.py
# - - -   E l t . _ _ e n t e r _ _

    def __enter__(self):
        '''Context manager entry method.
        '''
        return self