Searched refs:getone (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
D | test_multidict.py | 24 assert_raises(KeyError, d.getone, "b") 31 assert d.getone('a') == 1 97 assert_raises(KeyError, d.getone, k("b")) 109 assert d.getone(k('a')) == u'a test' 110 assert isinstance(d.getone(k('a')), six.text_type)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
D | multidict.py | 68 def getone(self, key): member in MultiDict 302 def getone(self, key): member in UnicodeMultiDict 308 return self._decode_value(self.multi.getone(key))
|
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
D | multidict.py | 120 def getone(self, key): member in MultiDict 458 def getone(self, key): member in NoVars
|
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/ |
D | index.txt | 318 and only one* value, use ``request.GET.getone('pref')``, which will
|
D | differences.txt | 142 The MultiDict object has a ``d.getone(key)`` method, that raises
|