Searched refs:setslice (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_slicing.py | 49 from operator import setslice, setitem 52 self.assertRaises(TypeError, setslice, a, 0, 5, "abcde") 55 self.assertRaises(TypeError, setslice, a, 0, 5, ["a", "b", "c", "d", "e"]) 59 self.assertRaises(TypeError, setslice, a, 0, 5, [1, 2, 3, 4, 3.14]) 63 self.assertRaises(ValueError, setslice, a, 0, 5, range(32)) 90 self.assertRaises(TypeError, operator.setslice, 150 self.assertRaises(TypeError, operator.setslice,
|
/external/python/cpython2/Lib/test/ |
D | test_operator.py | 325 self.assertRaises(TypeError, operator.setslice, a) 326 self.assertRaises(TypeError, operator.setslice, a, None, None, None) 327 self.assertTrue(operator.setslice(a, 1, 3, [2, 1]) is None) 329 operator.setslice(a, 0, test_support.MAX_Py_ssize_t, [])
|
D | test_class.py | 327 setslice = AllTests.__setslice__ 349 AllTests.__setslice__ = setslice
|
D | test_descr.py | 1765 self.setslice = (i, j, value) 1784 self.assertEqual(a.setslice, (0, 10, "foo"))
|
/external/python/cpython2/Modules/ |
D | operator.c | 436 spam2(setslice,__setslice__,
|
/external/python/apitools/apitools/base/protorpclite/ |
D | messages_test.py | 423 def setslice(): function 432 setslice)
|
/external/yapf/ |
D | pylintrc | 113 setslice-method,
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 292 .. function:: setslice(a, b, c, v)
|