Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_operator.py426 self.assertRaises(TypeError, operator.methodcaller)
427 self.assertRaises(TypeError, operator.methodcaller, 12)
436 f = operator.methodcaller('foo')
438 f = operator.methodcaller('foo', 1, 2)
443 f = operator.methodcaller('bar')
446 f = operator.methodcaller('bar', f=5)
448 f = operator.methodcaller('baz', name='spam', self='eggs')
578 methodcaller = self.module.methodcaller
589 f = methodcaller('bar')
594 f = methodcaller('foo', 1, 2)
[all …]
Dtest_dbm_dumb.py215 for meth in (operator.methodcaller('keys'),
216 operator.methodcaller('iterkeys'),
217 operator.methodcaller('items'),
/external/python/six/
Dsix.py592 viewkeys = operator.methodcaller("keys")
594 viewvalues = operator.methodcaller("values")
596 viewitems = operator.methodcaller("items")
610 viewkeys = operator.methodcaller("viewkeys")
612 viewvalues = operator.methodcaller("viewvalues")
614 viewitems = operator.methodcaller("viewitems")
/external/llvm-project/lldb/third_party/Python/module/six/
Dsix.py605 viewkeys = operator.methodcaller("keys")
607 viewvalues = operator.methodcaller("values")
609 viewitems = operator.methodcaller("items")
623 viewkeys = operator.methodcaller("viewkeys")
625 viewvalues = operator.methodcaller("viewvalues")
627 viewitems = operator.methodcaller("viewitems")
/external/python/parse_type/tasks/_vendor/
Dsix.py586 viewkeys = operator.methodcaller("keys")
588 viewvalues = operator.methodcaller("values")
590 viewitems = operator.methodcaller("items")
604 viewkeys = operator.methodcaller("viewkeys")
606 viewvalues = operator.methodcaller("viewvalues")
608 viewitems = operator.methodcaller("viewitems")
/external/python/setuptools/pkg_resources/_vendor/
Dsix.py586 viewkeys = operator.methodcaller("keys")
588 viewvalues = operator.methodcaller("values")
590 viewitems = operator.methodcaller("items")
604 viewkeys = operator.methodcaller("viewkeys")
606 viewvalues = operator.methodcaller("viewvalues")
608 viewitems = operator.methodcaller("viewitems")
/external/python/setuptools/setuptools/_vendor/
Dsix.py586 viewkeys = operator.methodcaller("keys")
588 viewvalues = operator.methodcaller("values")
590 viewitems = operator.methodcaller("items")
604 viewkeys = operator.methodcaller("viewkeys")
606 viewvalues = operator.methodcaller("viewvalues")
608 viewitems = operator.methodcaller("viewitems")
/external/scapy/scapy/modules/
Dsix.py596 viewkeys = operator.methodcaller("keys")
598 viewvalues = operator.methodcaller("values")
600 viewitems = operator.methodcaller("items")
614 viewkeys = operator.methodcaller("viewkeys")
616 viewvalues = operator.methodcaller("viewvalues")
618 viewitems = operator.methodcaller("viewitems")
/external/protobuf/python/google/protobuf/
Djson_format.py56 from operator import methodcaller
202 return methodcaller(_WKTJSONMETHODS[full_name][0], message)(self)
322 js['value'] = methodcaller(_WKTJSONMETHODS[full_name][0],
464 methodcaller(_WKTJSONMETHODS[full_name][1], value, message)(self)
598 methodcaller(
/external/python/cpython2/Lib/test/
Dtest_operator.py454 self.assertRaises(TypeError, operator.methodcaller)
461 f = operator.methodcaller('foo')
463 f = operator.methodcaller('foo', 1, 2)
468 f = operator.methodcaller('bar')
471 f = operator.methodcaller('bar', f=5)
/external/python/cpython2/Doc/howto/
Dsorting.rst93 starting in Python 2.5 an :func:`operator.methodcaller` function.
114 The :func:`operator.methodcaller` function makes method calls with fixed
119 >>> from operator import methodcaller
121 >>> sorted(messages, key=methodcaller('count', '!'))
/external/python/cpython3/Doc/library/
Doperator.rst342 .. function:: methodcaller(name, /, *args, **kwargs)
348 * After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``.
350 * After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)``
355 def methodcaller(name, /, *args, **kwargs):
/external/python/cpython2/Doc/library/
Doperator.rst586 .. function:: methodcaller(name[, args...])
592 * After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``.
594 * After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)``
599 def methodcaller(name, *args, **kwargs):
/external/python/cpython3/Lib/
Doperator.py296 class methodcaller: class
/external/python/cpython3/Doc/howto/
Dsorting.rst94 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function.
/external/python/cpython3/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.3rc1.rst1196 Fix possible usage of uninitialized memory in operator.methodcaller.
D3.5.2rc1.rst743 itemgetter, attrgetter and methodcaller objects no longer silently ignore
/external/python/cpython2/Misc/NEWS.d/
D2.7.13rc1.rst544 Fix possible usage of uninitialized memory in operator.methodcaller.
D2.7.12rc1.rst432 itemgetter, attrgetter and methodcaller objects no longer silently ignore
/external/brotli/research/
Dbrotlidump.py12 from operator import itemgetter, methodcaller
/external/python/cpython2/Doc/
Dglossary.rst452 :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
/external/python/cpython3/Doc/
Dglossary.rst653 :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2137 :func:`methodcaller` function that takes a name and an optional
2142 >>> replacer = operator.methodcaller('replace', 'old', 'new')

12