Home | History | Annotate | Download | only in python2.7

Lines Matching refs:conversion

36 # Case conversion helpers
557 for literal_text, field_name, format_spec, conversion in \
574 # do any conversion on the resulting object
575 obj = self.convert_field(obj, conversion)
602 def convert_field(self, value, conversion):
603 # do any conversion on the resulting object
604 if conversion is None:
606 elif conversion == 's':
608 elif conversion == 'r':
610 raise ValueError("Unknown conversion specifier {0!s}".format(conversion))
614 # (literal_text, field_name, format_spec, conversion)
619 # with format_spec and conversion and then used