Searched refs:methodcaller (Results 1 – 25 of 27) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_operator.py | 406 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 …]
|
D | test_dbm_dumb.py | 227 for meth in (operator.methodcaller('keys'), 228 operator.methodcaller('iterkeys'), 229 operator.methodcaller('items'),
|
/external/scapy/scapy/modules/ |
D | six.py | 596 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/ |
D | six.py | 586 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/ |
D | six.py | 586 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/ |
D | six.py | 592 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/ |
D | test_operator.py | 454 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/ |
D | sorting.rst | 93 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/ |
D | operator.rst | 340 .. 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/ |
D | operator.rst | 586 .. 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/ |
D | operator.py | 296 class methodcaller: class
|
/external/python/cpython3/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 | 744 itemgetter, attrgetter and methodcaller objects no longer silently ignore
|
D | 3.5.3rc1.rst | 1197 Fix possible usage of uninitialized memory in operator.methodcaller.
|
D | 3.6.0a1.rst | 1166 itemgetter, attrgetter and methodcaller objects no longer silently ignore
|
/external/python/cpython3/Doc/howto/ |
D | sorting.rst | 92 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function.
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.13rc1.rst | 544 Fix possible usage of uninitialized memory in operator.methodcaller.
|
D | 2.7.12rc1.rst | 432 itemgetter, attrgetter and methodcaller objects no longer silently ignore
|
/external/brotli/research/ |
D | brotlidump.py | 12 from operator import itemgetter, methodcaller
|
/external/python/cpython2/Doc/ |
D | glossary.rst | 452 :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 620 :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2137 :func:`methodcaller` function that takes a name and an optional 2142 >>> replacer = operator.methodcaller('replace', 'old', 'new')
|
/external/python/cpython3/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.
|
12