Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)
Returns True if number is an integer, False otherwise.

        def is_integer(number):
    """Returns True if number is an integer, False otherwise."""
    return str(number).isdigit()
        


src/s/y/synnefo-HEAD/snf-astakos-app/astakos/api/quotas.py   synnefo(Download)
import astakos.quotaholder_app.callpoint as qh
 
from .util import (json_response, is_integer, are_integer, check_is_dict,
                   user_from_token, component_from_token)
 
            key = (holder, source, resource)
            lst.append((key, quantity))
            if not is_integer(quantity):
                raise ValueError()
        except (TypeError, KeyError, ValueError):

src/q/u/Quest-0.1.1/quest/engine.py   Quest(Download)
            return cursor.fetchall()
        else:
            if util.is_integer(config.ROWS_TO_SHOW):
                fetched_rows = cursor.fetchmany(config.ROWS_TO_SHOW)
                return fetched_rows
            else:
                raise ValueError("number_of_rows (%d) is not an int!" % number_of_rows)
    else:
        if util.is_integer(number_of_rows):