コード例 #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
ファイル: bytesobject.py プロジェクト: zielmicha/pypy
 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()