Example #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()
Example #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()
Example #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()
Example #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()
Example #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()
Example #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()
Example #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()
Example #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()