HomeSort by relevance Sort by last modified time
    Searched refs:fieldnames (Results 1 - 5 of 5) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
csv.py 74 def __init__(self, f, fieldnames=None, restkey=None, restval=None,
76 self._fieldnames = fieldnames # list of keys for the dict
87 def fieldnames(self): member in class:DictReader
96 @fieldnames.setter
97 def fieldnames(self, value): member in class:DictReader
103 self.fieldnames
112 d = dict(zip(self.fieldnames, row))
113 lf = len(self.fieldnames)
118 for key in self.fieldnames[lr:]:
124 def __init__(self, f, fieldnames, restval="", extrasaction="raise"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
csv.py 74 def __init__(self, f, fieldnames=None, restkey=None, restval=None,
76 self._fieldnames = fieldnames # list of keys for the dict
87 def fieldnames(self): member in class:DictReader
96 @fieldnames.setter
97 def fieldnames(self, value): member in class:DictReader
103 self.fieldnames
112 d = dict(zip(self.fieldnames, row))
113 lf = len(self.fieldnames)
118 for key in self.fieldnames[lr:]:
124 def __init__(self, f, fieldnames, restval="", extrasaction="raise"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_csv.py 299 fieldnames=['a', 'b', 'c'])):
611 ### "long" means the row is longer than the number of fieldnames
612 ### "short" means there are fewer elements in the row than fieldnames
617 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
640 fieldnames=["f1", "f2", "f3"])
653 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
660 # fieldnames continue to work. Both arise from discussion in issue3436.
667 reader = csv.DictReader(f, fieldnames=csv.reader(f).next())
668 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
684 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"]
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_csv.py 299 fieldnames=['a', 'b', 'c'])):
611 ### "long" means the row is longer than the number of fieldnames
612 ### "short" means there are fewer elements in the row than fieldnames
617 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
640 fieldnames=["f1", "f2", "f3"])
653 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
660 # fieldnames continue to work. Both arise from discussion in issue3436.
667 reader = csv.DictReader(f, fieldnames=csv.reader(f).next())
668 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
684 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"]
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.lucene_1.9.1.v20100518-1140.jar 

Completed in 102 milliseconds