parameters: (string)
docstring: Generic integer type, will interpret string as string literal.
      Does the right thing for 0x1F, 0b10101, 010.
docstring_summary: Generic integer type, will interpret string as string literal.
      Does the right thing for 0x1F, 0b10101, 010.
docstring_tokens: Generic integer type will interpret string as string literal . Does the right thing for 0x1F 0b10101 010 .
function: def intx(string):
      """
      Generic integer type, will interpret string as string literal.
      Does the right thing for 0x1F, 0b10101, 010.
      """
      try:
          return int(string, 0)
      except (ValueError, TypeError):
          raise argparse.ArgumentTypeError(
              "Invalid integer value: {}".format(string)
          )
function_tokens: def intx ( string ) : try : return int ( string , 0 ) except ( ValueError , TypeError ) : raise argparse . ArgumentTypeError ( "Invalid integer value: {}" . format ( string ) )