Home
last modified time | relevance | path

Searched refs:Callable (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_collections.py13 from collections import Sized, Container, Callable
415 self.assertNotIsInstance(x, Callable)
416 self.assertFalse(issubclass(type(x), Callable), repr(type(x)))
423 self.assertIsInstance(x, Callable)
424 self.assertTrue(issubclass(type(x), Callable), repr(type(x)))
425 self.validate_abstract_methods(Callable, '__call__')
426 self.validate_isinstance(Callable, '__call__')
429 for B in Hashable, Iterable, Iterator, Sized, Container, Callable:
436 for B in Hashable, Iterable, Iterator, Sized, Container, Callable:
Dtest_weakref.py18 class Callable: class
256 o = Callable()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
D_abcoll.py121 class Callable: class
130 if cls is Callable:
Dshutil.py490 if not isinstance(function, collections.Callable):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_abcoll.py120 class Callable: class
129 if cls is Callable:
Dshutil.py487 if not isinstance(function, collections.Callable):