Lines Matching refs:field_name
203 for literal_text, field_name, format_spec, conversion in \
211 if field_name is not None:
216 if field_name == '':
221 field_name = str(auto_arg_index)
223 elif field_name.isdigit():
232 # given the field_name, find the object it references
234 obj, arg_used = self.get_field(field_name, args, kwargs)
281 # (literal_text, field_name, format_spec, conversion)
283 # field_name can be None, in which case there's no
285 # if field_name is not None, it is looked up, formatted
291 # given a field_name, find the object it references.
292 # field_name: the field being looked up, e.g. "0.name"
296 def get_field(self, field_name, args, kwargs):
297 first, rest = _string.formatter_field_name_split(field_name)
301 # loop through the rest of the field_name, doing