Home
last modified time | relevance | path

Searched refs:methodcaller (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/test/
Dtest_operator.py438 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 …]
Dtest_dbm_dumb.py217 for meth in (operator.methodcaller('keys'),
218 operator.methodcaller('iterkeys'),
219 operator.methodcaller('items'),
/third_party/protobuf/python/google/protobuf/
Djson_format.py56 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/
Doperator.rst343 .. 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/
Doperator.py296 class methodcaller: class
/third_party/python/Misc/NEWS.d/
D3.6.0a4.rst326 Fix possible usage of uninitialized memory in operator.methodcaller.
D3.5.0b1.rst284 attrgetter, itemgetter and methodcaller objects in the operator module now
D3.5.2rc1.rst743 itemgetter, attrgetter and methodcaller objects no longer silently ignore
D3.5.3rc1.rst1196 Fix possible usage of uninitialized memory in operator.methodcaller.
D3.6.0a1.rst1165 itemgetter, attrgetter and methodcaller objects no longer silently ignore
/third_party/python/Doc/howto/
Dsorting.rst106 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function.
/third_party/skia/third_party/externals/brotli/research/
Dbrotlidump.py12 from operator import itemgetter, methodcaller
/third_party/python/Doc/
Dglossary.rst695 :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
/third_party/python/Doc/whatsnew/
D2.6.rst2141 :func:`methodcaller` function that takes a name and an optional
2146 >>> replacer = operator.methodcaller('replace', 'old', 'new')
D3.5.rst1471 and :func:`~operator.methodcaller` objects now support pickling.
/third_party/python/Misc/
DHISTORY42 - Issue #27783: Fix possible usage of uninitialized memory in operator.methodcaller.