def DEFINE_integer(name, default, help, lower_bound=None, upper_bound=None, flag_values=FLAGS, **args):
 parser = IntegerParser(lower_bound, upper_bound)
 serializer = ArgumentSerializer()
 DEFINE(parser, name, default, help, flag_values, serializer, **args)
 _RegisterBoundsValidatorIfNeeded(parser, name, flag_values=flag_values)

def DEFINE_integer ( name , default , help , lower_bound = None , upper_bound = None , flag_values = FLAGS , ** args ) : parser = IntegerParser ( lower_bound , upper_bound ) serializer = ArgumentSerializer ( ) DEFINE ( parser , name , default , help , flag_values , serializer , ** args ) _RegisterBoundsValidatorIfNeeded ( parser , name , flag_values = flag_values )
registers a flag whose value must be an integer .