Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
int(x=0) -> int or long
int(x, base=10) -> int or long

Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.

If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base.  The
literal can be preceded by '+' or '-' and be surrounded by whitespace.(more...)

src/p/y/pydoctor-0.5/pydoctor/astbuilder.py   pydoctor(Download)
        mod = self.system.getProcessedModule(modname)
        if mod is not None:
            assert mod.state in [model.PROCESSING, model.PROCESSED]
            expandName = mod.expandName
        else:
            mod = self.system.getProcessedModule(fullname)
            if mod is not None:
                assert mod.state in [model.PROCESSING, model.PROCESSED]
                expandName = mod.expandName
            else:

src/b/a/babbledrive-HEAD/generator-pydoctor/pydoctor/astbuilder.py   babbledrive(Download)
    def visitFrom(self, node):
        modname = self.builder.expandModname(node.modname)
        mod = self.system.getProcessedModule(modname)
        if mod is not None:
            assert mod.state in [model.PROCESSING, model.PROCESSED]