Home
last modified time | relevance | path

Searched refs:getone (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_multidict.py24 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/
Dmultidict.py68 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/
Dmultidict.py120 def getone(self, key): member in MultiDict
458 def getone(self, key): member in NoVars
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dindex.txt318 and only one* value, use ``request.GET.getone('pref')``, which will
Ddifferences.txt142 The MultiDict object has a ``d.getone(key)`` method, that raises