def descr_format(self, space, w_format_spec): return newformat.run_formatter(space, w_format_spec, "format_complex", self)
def format__Complex_ANY(space, w_complex, w_format_spec): return newformat.run_formatter(space, w_format_spec, "format_complex", w_complex)
def descr_format(self, space, w_format_spec): return newformat.run_formatter(space, w_format_spec, "format_int_or_long", self, newformat.LONG_KIND)
def format__Long_ANY(space, w_long, w_format_spec): return newformat.run_formatter(space, w_format_spec, "format_int_or_long", w_long, newformat.LONG_KIND)
def format__Int_ANY(space, w_int, w_format_spec): return newformat.run_formatter(space, w_format_spec, "format_int_or_long", w_int, newformat.INT_KIND)
def descr__format__(self, space, w_format_spec): return newformat.run_formatter(space, w_format_spec, "format_string", self)
def descr_format(self, space, w_spec): return newformat.run_formatter(space, w_spec, "format_float", self)
def format__Float_ANY(space, w_float, w_spec): return newformat.run_formatter(space, w_spec, "format_float", w_float)
def format__Bool_ANY(space, w_bool, w_format_spec): return newformat.run_formatter( space, w_format_spec, "format_int_or_long", w_bool, newformat.INT_KIND)