(self)
return transform_children(tree, name)
Return sequenced classes and functions in the module.
Return sequenced classes and functions in the module.
Return sequenced classes and functions in the module .
def listchildren(self):
        "Return sequenced classes and functions in the module."
        dir, base = os.path.split(self.file)
        name, ext = os.path.splitext(base)
        if os.path.normcase(ext) != ".py":
            return []
        try:
            tree = pyclbr.readmodule_ex(name, [dir] + sys.path)
        except ImportError:
            return []
        return transform_children(tree, name)
def listchildren ( self ) : dir , base = os . path . split ( self . file ) name , ext = os . path . splitext ( base ) if os . path . normcase ( ext ) != ".py" : return [ ] try : tree = pyclbr . readmodule_ex ( name , [ dir ] + sys . path ) except ImportError : return [ ] return transform_children ( tree , name )