Searched refs:methodcaller (Results 1 – 25 of 30) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_operator.py | 426 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 …]
|
D | test_dbm_dumb.py | 215 for meth in (operator.methodcaller('keys'), 216 operator.methodcaller('iterkeys'), 217 operator.methodcaller('items'),
|
/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/llvm-project/lldb/third_party/Python/module/six/ |
D | six.py | 605 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/ |
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/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/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/protobuf/python/google/protobuf/ |
D | json_format.py | 56 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/ |
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 | 342 .. 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/ |
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/Doc/howto/ |
D | sorting.rst | 94 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function.
|
/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.3rc1.rst | 1196 Fix possible usage of uninitialized memory in operator.methodcaller.
|
D | 3.5.2rc1.rst | 743 itemgetter, attrgetter and methodcaller objects no longer silently ignore
|
/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 | 653 :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')
|
12