Ejemplo n.º 1
0
def str_formatter_field_name_split__ANY(space, w_str):
    from pypy.objspace.std.newformat import str_template_formatter
    tformat = str_template_formatter(space, space.str_w(w_str))
    return tformat.formatter_field_name_split()
Ejemplo n.º 2
0
 def descr_formatter_field_name_split(self, space):
     from pypy.objspace.std.newformat import str_template_formatter
     tformat = str_template_formatter(space, space.str_w(self))
     return tformat.formatter_field_name_split()
Ejemplo n.º 3
0
def str_formatter_parser__ANY(space, w_str):
    from pypy.objspace.std.newformat import str_template_formatter
    tformat = str_template_formatter(space, space.str_w(w_str))
    return tformat.formatter_parser()
Ejemplo n.º 4
0
 def descr_formatter_parser(self, space):
     from pypy.objspace.std.newformat import str_template_formatter
     tformat = str_template_formatter(space, space.str_w(self))
     return tformat.formatter_parser()
Ejemplo n.º 5
0
 def descr_formatter_field_name_split(self, space):
     from pypy.objspace.std.newformat import str_template_formatter
     tformat = str_template_formatter(space, space.bytes_w(self))
     return tformat.formatter_field_name_split()
Ejemplo n.º 6
0
def str_formatter_field_name_split__ANY(space, w_str):
    from pypy.objspace.std.newformat import str_template_formatter

    tformat = str_template_formatter(space, space.str_w(w_str))
    return tformat.formatter_field_name_split()
Ejemplo n.º 7
0
def str_formatter_parser__ANY(space, w_str):
    from pypy.objspace.std.newformat import str_template_formatter

    tformat = str_template_formatter(space, space.str_w(w_str))
    return tformat.formatter_parser()
Ejemplo n.º 8
0
 def descr_formatter_parser(self, space):
     from pypy.objspace.std.newformat import str_template_formatter
     tformat = str_template_formatter(space, space.str_w(self))
     return tformat.formatter_parser()