Searched refs:delitem (Results 1 – 12 of 12) sorted by relevance
/third_party/python/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)
|
/third_party/python/Lib/ |
D | operator.py | 165 def delitem(a, b): function 444 __delitem__ = delitem
|
/third_party/python/Doc/library/ |
D | operator.rst | 222 .. function:: delitem(a, b) 399 | Indexed Deletion | ``del obj[k]`` | ``delitem(obj, k)`` | 421 | Slice Deletion | ``del seq[i:j]`` | ``delitem(seq, slice(i, j))`` |
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 88 def delitem(s, name): function 93 mock.__delitem__ = delitem
|
/third_party/python/Lib/test/ |
D | test_operator.py | 165 self.assertRaises(TypeError, operator.delitem, a) 166 self.assertRaises(TypeError, operator.delitem, a, None) 167 self.assertIsNone(operator.delitem(a, 1))
|
D | test_dbm_dumb.py | 208 for meth in (partial(operator.delitem, f),
|
D | test_array.py | 1090 self.assertRaises(BufferError, operator.delitem, a, 0) 1092 self.assertRaises(BufferError, operator.delitem, a, slice(0, 1))
|
D | test_bytes.py | 1629 def delitem(): function 1631 self.assertRaises(BufferError, delitem)
|
D | test_descr.py | 1945 self.delitem = key 1958 self.assertEqual(a.delitem, 12) 1964 self.assertEqual(a.delitem, (slice(0, 10)))
|
/third_party/python/Lib/lib2to3/tests/ |
D | test_parser.py | 117 self.addCleanup(operator.delitem, sys.modules, modname)
|
/third_party/python/Misc/ |
D | HISTORY | 31901 - The operator module has new functions delitem and delslice, and the
|