Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_operator.py406 self.assertRaises(TypeError, operator.methodcaller)
407 self.assertRaises(TypeError, operator.methodcaller, 12)
416 f = operator.methodcaller('foo')
418 f = operator.methodcaller('foo', 1, 2)
423 f = operator.methodcaller('bar')
426 f = operator.methodcaller('bar', f=5)
428 f = operator.methodcaller('baz', name='spam', self='eggs')
558 methodcaller = self.module.methodcaller
569 f = methodcaller('bar')
574 f = methodcaller('foo', 1, 2)
[all …]
Dtest_dbm_dumb.py227 for meth in (operator.methodcaller('keys'),
228 operator.methodcaller('iterkeys'),
229 operator.methodcaller('items'),
/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/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/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/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.rst340 .. function:: methodcaller(name[, args...])
346 * After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``.
348 * After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)``
353 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/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.rst744 itemgetter, attrgetter and methodcaller objects no longer silently ignore
D3.5.3rc1.rst1197 Fix possible usage of uninitialized memory in operator.methodcaller.
D3.6.0a1.rst1166 itemgetter, attrgetter and methodcaller objects no longer silently ignore
/external/python/cpython3/Doc/howto/
Dsorting.rst92 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function.
/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.rst620 :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')
/external/python/cpython3/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.

12