trepan/lib/core.py
def filename(self, filename=None):
        """Return filename or the basename of that depending on the
        basename setting"""
        if filename is None:
            if self.debugger.mainpyfile:
                filename = self.debugger.mainpyfile
            else:
                return None
        if self.debugger.settings['basename']:
            return(os.path.basename(filename))
        return filename
def filename(self, filename=None):
        if filename is None:
            if self.debugger.mainpyfile:
                filename = self.debugger.mainpyfile
            else:
                return None
        if self.debugger.settings['basename']:
            return(os.path.basename(filename))
        return filename
def filename ( self , filename = None ) : if filename is None : if self . debugger . mainpyfile : filename = self . debugger . mainpyfile else : return None if self . debugger . settings [ 'basename' ] : return ( os . path . basename ( filename ) ) return filename
Return filename or the basename of that depending on the
        basename setting
Return filename or the basename of that depending on the basename setting