Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/c/o/countershape-0.1/countershape/model.py   countershape(Download)
        if absdomain:
            u = to.absolutePath()
            u = utils.urlCat(to.siteUrl(), u)
        else:
            rel = state.page.relativePath([i.name for i in to.structuralPath()])
    def __str__(self):
        return utils.urlCat("./", state.page.top())
 
 
class BasePage(tinytree.Tree):
    def absolutePath(self):
        p = [i.name for i in self.structuralPath()]
        return utils.urlCat(*p)
 
    def relativePath(self, toPath):
                break
        backtrack = [".."]*((len(fromPath) - 1)-common)
        return utils.urlCat(*(backtrack + toPath[common:]))
 
    def isDocDescendantOf(self, other):

src/c/o/countershape-HEAD/countershape/model.py   countershape(Download)
        if absdomain:
            u = to.absolutePath()
            u = utils.urlCat(to.siteUrl(), u)
        else:
            rel = state.page.relativePath([i.name for i in to.structuralPath()])
    def __str__(self):
        return utils.urlCat("./", state.page.top())
 
 
class BasePage(tinytree.Tree):
    def absolutePath(self):
        p = [i.name for i in self.structuralPath()]
        return utils.urlCat(*p)
 
    def relativePath(self, toPath):
                break
        backtrack = [".."]*((len(fromPath) - 1)-common)
        return utils.urlCat(*(backtrack + toPath[common:]))
 
    def isDocDescendantOf(self, other):