def show_mod(mod):
    filename = self.debugger.canonic(mod.__file__)
    (base, ext) = splitext(filename)
    if (ext == '.pyc'):
        ext = '.py'
        filename = (base + '.py')
    self.set_source_code_provider(FileSourceCodeProvider(self.debugger, filename))
    self.source_list.set_focus(0)
def show_mod(mod):
    filename = self.debugger.canonic(mod.__file__)
    (base, ext) = splitext(filename)
    if (ext == '.pyc'):
        ext = '.py'
        filename = (base + '.py')
    self.set_source_code_provider(FileSourceCodeProvider(self.debugger, filename))
    self.source_list.set_focus(0)