/external/python/cpython2/Lib/ctypes/test/ |
D | test_arrays.py | 67 from operator import getslice, delitem 71 self.assertRaises(TypeError, delitem, ca, 0)
|
D | test_pointers.py | 93 from operator import delitem 104 self.assertRaises(TypeError, delitem, p, 0)
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_pointers.py | 96 from operator import delitem 107 self.assertRaises(TypeError, delitem, p, 0)
|
D | test_arrays.py | 69 from operator import delitem 70 self.assertRaises(TypeError, delitem, ca, 0)
|
/external/python/cpython3/Lib/ |
D | operator.py | 165 def delitem(a, b): function 444 __delitem__ = delitem
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 232 .. function:: delitem(a, b) 244 This function is removed in Python 3.x. Use :func:`delitem` with a slice 648 | Indexed Deletion | ``del obj[k]`` | ``delitem(obj, k)`` | 670 | Slice Deletion | ``del seq[i:j]`` | ``delitem(seq, slice(i, j))`` |
|
/external/python/cpython2/Lib/test/ |
D | test_operator.py | 136 self.assertRaises(TypeError, operator.delitem, a) 137 self.assertRaises(TypeError, operator.delitem, a, None) 138 self.assertTrue(operator.delitem(a, 1) is None)
|
D | test_bytes.py | 848 def delitem(): function 850 self.assertRaises(BufferError, delitem)
|
D | test_descr.py | 1760 self.delitem = key 1780 self.assertEqual(a.delitem, 12)
|
/external/python/cpython3/Doc/library/ |
D | operator.rst | 218 .. function:: delitem(a, b) 398 | Indexed Deletion | ``del obj[k]`` | ``delitem(obj, k)`` | 420 | Slice Deletion | ``del seq[i:j]`` | ``delitem(seq, slice(i, j))`` |
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 115 def delitem(s, name): function 120 mock.__delitem__ = delitem
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 88 def delitem(s, name): function 93 mock.__delitem__ = delitem
|
/external/python/cpython3/Lib/test/ |
D | test_operator.py | 156 self.assertRaises(TypeError, operator.delitem, a) 157 self.assertRaises(TypeError, operator.delitem, a, None) 158 self.assertIsNone(operator.delitem(a, 1))
|
D | test_dbm_dumb.py | 206 for meth in (partial(operator.delitem, f),
|
D | test_array.py | 999 self.assertRaises(BufferError, operator.delitem, a, 0) 1001 self.assertRaises(BufferError, operator.delitem, a, slice(0, 1))
|
D | test_bytes.py | 1605 def delitem(): function 1607 self.assertRaises(BufferError, delitem)
|
D | test_descr.py | 1921 self.delitem = key 1934 self.assertEqual(a.delitem, 12) 1940 self.assertEqual(a.delitem, (slice(0, 10)))
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_parser.py | 112 self.addCleanup(operator.delitem, sys.modules, modname)
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_parser.py | 113 self.addCleanup(operator.delitem, sys.modules, modname)
|
/external/python/cpython2/Lib/plat-mac/ |
D | FrameWork.py | 581 def delitem(self, item): member in Menu 670 self.menu.delitem(self.item)
|
/external/python/cpython2/Modules/ |
D | operator.c | 430 spam2(delitem,__delitem__,
|
/external/python/cpython2/Misc/ |
D | HISTORY | 14522 - The operator module has new functions delitem and delslice, and the
|
/external/python/cpython3/Misc/ |
D | HISTORY | 31901 - The operator module has new functions delitem and delslice, and the
|