예제 #1
0
파일: stringtype.py 프로젝트: sota/pypy-old
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()
예제 #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()
예제 #3
0
파일: stringtype.py 프로젝트: sota/pypy-old
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()
예제 #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()
예제 #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()
예제 #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()
예제 #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()
예제 #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()