Lines Matching refs:field_names
305 def namedtuple(typename, field_names, verbose=False, rename=False): argument
331 if isinstance(field_names, basestring):
332 field_names = field_names.replace(',', ' ').split()
333 field_names = map(str, field_names)
337 for index, name in enumerate(field_names):
344 field_names[index] = '_%d' % index
346 for name in [typename] + field_names:
359 for name in field_names:
370 field_names = tuple(field_names),
371 num_fields = len(field_names),
372 arg_list = repr(tuple(field_names)).replace("'", "")[1:-1],
374 for name in field_names),
376 for index, name in enumerate(field_names))