Searched refs:methodcaller (Results 1 – 16 of 16) sorted by relevance
/third_party/python/Lib/test/ |
D | test_operator.py | 438 self.assertRaises(TypeError, operator.methodcaller) 439 self.assertRaises(TypeError, operator.methodcaller, 12) 448 f = operator.methodcaller('foo') 450 f = operator.methodcaller('foo', 1, 2) 455 f = operator.methodcaller('bar') 458 f = operator.methodcaller('bar', f=5) 460 f = operator.methodcaller('baz', name='spam', self='eggs') 590 methodcaller = self.module.methodcaller 601 f = methodcaller('bar') 606 f = methodcaller('foo', 1, 2) [all …]
|
D | test_dbm_dumb.py | 217 for meth in (operator.methodcaller('keys'), 218 operator.methodcaller('iterkeys'), 219 operator.methodcaller('items'),
|
/third_party/protobuf/python/google/protobuf/ |
D | json_format.py | 56 from operator import methodcaller 214 return methodcaller(_WKTJSONMETHODS[full_name][0], message)(self) 339 js['value'] = methodcaller(_WKTJSONMETHODS[full_name][0], 481 methodcaller(_WKTJSONMETHODS[full_name][1], value, message)(self) 615 methodcaller(
|
/third_party/python/Doc/library/ |
D | operator.rst | 343 .. function:: methodcaller(name, /, *args, **kwargs) 349 * After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``. 351 * After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)`` 356 def methodcaller(name, /, *args, **kwargs):
|
/third_party/python/Lib/ |
D | operator.py | 296 class methodcaller: class
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 326 Fix possible usage of uninitialized memory in operator.methodcaller.
|
D | 3.5.0b1.rst | 284 attrgetter, itemgetter and methodcaller objects in the operator module now
|
D | 3.5.2rc1.rst | 743 itemgetter, attrgetter and methodcaller objects no longer silently ignore
|
D | 3.5.3rc1.rst | 1196 Fix possible usage of uninitialized memory in operator.methodcaller.
|
D | 3.6.0a1.rst | 1165 itemgetter, attrgetter and methodcaller objects no longer silently ignore
|
/third_party/python/Doc/howto/ |
D | sorting.rst | 106 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function.
|
/third_party/skia/third_party/externals/brotli/research/ |
D | brotlidump.py | 12 from operator import itemgetter, methodcaller
|
/third_party/python/Doc/ |
D | glossary.rst | 695 :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
|
/third_party/python/Doc/whatsnew/ |
D | 2.6.rst | 2141 :func:`methodcaller` function that takes a name and an optional 2146 >>> replacer = operator.methodcaller('replace', 'old', 'new')
|
D | 3.5.rst | 1471 and :func:`~operator.methodcaller` objects now support pickling.
|
/third_party/python/Misc/ |
D | HISTORY | 42 - Issue #27783: Fix possible usage of uninitialized memory in operator.methodcaller.
|