/third_party/python/Lib/test/ |
H A D | test_operator.py | 403 f = operator.itemgetter(2) 408 f = operator.itemgetter(10) 414 self.assertRaises(SyntaxError, operator.itemgetter(42), C()) 416 f = operator.itemgetter('name') 418 self.assertRaises(TypeError, operator.itemgetter) 421 f = operator.itemgetter('key') 423 f = operator.itemgetter('nonkey') 428 getcount = operator.itemgetter(1) 435 self.assertEqual(operator.itemgetter(2,10,5)(data), ('2', '10', '5')) 436 self.assertRaises(TypeError, operator.itemgetter( [all...] |
H A D | test_heapq.py | 10 from operator import itemgetter namespace 188 for key in [None, itemgetter(0), itemgetter(1), itemgetter(1, 0)]:
|
H A D | test_collections.py | 580 # Some names like "self", "cls", "tuple", "itemgetter", and "property" 582 T = namedtuple('T', 'itemgetter property self cls tuple') 585 newt = t._replace(itemgetter=10, property=20, self=30, cls=40, tuple=50) 605 'isinstance', 'itemgetter', 'iterable', 'join', 'keyword', 'keywords',
|
/third_party/python/Tools/scripts/ |
H A D | analyze_dxp.py | 92 result.sort(key=operator.itemgetter(2), reverse=True) 112 result.sort(key=operator.itemgetter(2), reverse=True)
|
/third_party/python/Tools/ssl/ |
H A D | make_ssl_data.py | 119 args.reasons = sorted(reasons, key=operator.itemgetter(0, 3))
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | lexer.py | 10 from operator import itemgetter namespace 263 lineno, type, value = (property(itemgetter(x)) for x in range(3))
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | lexer.py | 19 from operator import itemgetter namespace 235 lineno, type, value = (property(itemgetter(x)) for x in range(3))
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | lexer.py | 10 from operator import itemgetter namespace 263 lineno, type, value = (property(itemgetter(x)) for x in range(3))
|
/third_party/python/Lib/ |
H A D | operator.py | 17 'is_', 'is_not', 'isub', 'itemgetter', 'itruediv', 'ixor', 'le', 271 class itemgetter: class 274 After f = itemgetter(2), the call f(r) returns r[2]. 275 After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3])
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/ |
H A D | bloat.py | 293 key=operator.itemgetter(1))[0])
|
/third_party/python/Lib/email/ |
H A D | _header_value_parser.py | 74 from operator import itemgetter namespace 744 parts = sorted(parts, key=itemgetter(0))
|
/third_party/python/Tools/stringbench/ |
H A D | stringbench.py | 1436 operator.itemgetter(0)):
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | test_fixers.py | 6 from operator import itemgetter namespace 1841 a = "import %s" % ", ".join(map(itemgetter(0), changes))
|
/third_party/python/Lib/collections/ |
H A D | __init__.py | 37 from operator import itemgetter as _itemgetter
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotlidump.py | 12 from operator import itemgetter, methodcaller namespace
|