Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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/i/pida-0.6.2/pida-plugins/python_lint/python_lint.py   pida(Download)
        if self.type_ == LANG_VALIDATOR_TYPES.ERROR:
            typec = self.lookup_color('pida-val-error')
        elif self.type_ == LANG_VALIDATOR_TYPES.INFO:
            typec = self.lookup_color('pida-val-info')
        elif self.type_ == LANG_VALIDATOR_TYPES.WARNING:
        # update stats
        if msg_id[0] == 'I':
            ty = LANG_VALIDATOR_TYPES.INFO
            sty = LANG_VALIDATOR_SUBTYPES.UNKNOWN
        elif msg_id[0] == 'C':
            ty = LANG_VALIDATOR_TYPES.INFO

src/p/i/pida-0.6.2/pida-plugins/python/python.py   pida(Download)
        if self.type_ == LANG_VALIDATOR_TYPES.ERROR:
            typec = self.lookup_color('pida-val-error')
        elif self.type_ == LANG_VALIDATOR_TYPES.INFO:
            typec = self.lookup_color('pida-val-info')
        elif self.type_ == LANG_VALIDATOR_TYPES.WARNING:
            #FIXME make mapping
            if isinstance(m, pyflakes.messages.UnusedImport):
                type_ = LANG_VALIDATOR_TYPES.INFO
                subtype = LANG_VALIDATOR_SUBTYPES.UNUSED
            elif isinstance(m, pyflakes.messages.RedefinedWhileUnused):

src/p/i/pida-0.6.2/pida-plugins/rst/rst.py   pida(Download)
        # docutils defines the following error levels:
        #     "info/1", '"warning"/"2" (default), "error"/"3", "severe"/"4"
        type_ = (LANG_VALIDATOR_TYPES.INFO, LANG_VALIDATOR_TYPES.WARNING,
                 LANG_VALIDATOR_TYPES.ERROR, LANG_VALIDATOR_TYPES.FATAL
                )[msg['level'] - 1]