Home
last modified time | relevance | path

Searched refs:setslice (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
Dtest_slicing.py49 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/
Dtest_operator.py325 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, [])
Dtest_class.py327 setslice = AllTests.__setslice__
349 AllTests.__setslice__ = setslice
Dtest_descr.py1765 self.setslice = (i, j, value)
1784 self.assertEqual(a.setslice, (0, 10, "foo"))
/external/python/cpython2/Modules/
Doperator.c436 spam2(setslice,__setslice__,
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py423 def setslice(): function
432 setslice)
/external/yapf/
Dpylintrc113 setslice-method,
/external/python/cpython2/Doc/library/
Doperator.rst292 .. function:: setslice(a, b, c, v)