Home
last modified time | relevance | path

Searched refs:__setitem__ (Results 1 – 25 of 53) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dlist_tests.py69 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 0), [1,2,3])
70 self.assertRaises(TypeError, a.__setitem__, slice(0, 10), 1)
71 self.assertRaises(ValueError, a.__setitem__, slice(0, 10, 2), [1,2])
97 self.assertRaises(IndexError, a.__setitem__, -3, 200)
98 self.assertRaises(IndexError, a.__setitem__, 2, 200)
101 self.assertRaises(IndexError, a.__setitem__, 0, 200)
102 self.assertRaises(IndexError, a.__setitem__, -1, 200)
103 self.assertRaises(TypeError, a.__setitem__)
186 self.assertRaises(TypeError, a.__setitem__, slice(0, 1, 5))
189 self.assertRaises(TypeError, a.__setitem__)
Dtest_userstring.py55 self.assertRaises(IndexError, s.__setitem__, -4, "bar")
56 self.assertRaises(IndexError, s.__setitem__, 3, "bar")
Dtest_array.py416 self.assertRaises(TypeError, a.__setitem__)
417 self.assertRaises(TypeError, a.__setitem__, None)
418 self.assertRaises(TypeError, a.__setitem__, 0, None)
421 a.__setitem__,
426 a.__setitem__,
609 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), None)
610 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), None)
614 self.assertRaises(TypeError, a.__setitem__, slice(0, 0), b)
615 self.assertRaises(TypeError, a.__setitem__, slice(0, 1), b)
794 self.assertRaises(TypeError, a.__setitem__, 0, self.example[:2])
[all …]
Dtest_compile.py72 def __setitem__(self, key, value): member in TestSpecifics.test_exec_with_general_mapping_for_locals.M
377 def __setitem__(self, key, value): member in TestSpecifics.test_subscripts.str_map
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DCookie.py438 dict.__setitem__(self, K, "")
441 def __setitem__(self, K, V): member in Morsel
445 dict.__setitem__(self, K, V)
586 dict.__setitem__(self, key, M)
589 def __setitem__(self, key, value): member in BaseCookie
D_strptime.py216 base.__setitem__('W', base.__getitem__('U').replace('U', 'W'))
217 base.__setitem__('c', self.pattern(self.locale_time.LC_date_time))
218 base.__setitem__('x', self.pattern(self.locale_time.LC_date))
219 base.__setitem__('X', self.pattern(self.locale_time.LC_time))
Dshelve.py80 __getitem__ = __setitem__ = __delitem__ = keys = closed
127 def __setitem__(self, key, value): member in Shelf
Dweakref.py79 def __setitem__(self, key, value): member in WeakValueDictionary
261 def __setitem__(self, key, value): member in WeakKeyDictionary
Dcopy.py425 def __setitem__(self, k, i): member in _test.odict
426 dict.__setitem__(self, k, i)
Dcollections.py53 def __setitem__(self, key, value, PREV=0, NEXT=1, dict_setitem=dict.__setitem__): member in OrderedDict
DUserList.py32 def __setitem__(self, i, item): self.data[i] = item member in UserList
Ddumbdbm.py162 def __setitem__(self, key, val): member in _Database
D_abcoll.py447 def __setitem__(self, key, value): member in MutableMapping
566 def __setitem__(self, index, value): member in MutableSequence
Dos.py419 def __setitem__(self, key, item): member in _Environ
470 def __setitem__(self, key, item): member in _Environ
DUserDict.py24 def __setitem__(self, key, item): self.data[key] = item member in UserDict
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DMisc.py306 def __setitem__(self, Key, Value): member in Sdict
309 IterableUserDict.__setitem__(self, Key, Value)
343 IterableUserDict.__setitem__(self, Newkey, Newvalue)
346 IterableUserDict.__setitem__(self, Newkey, Newvalue)
354 IterableUserDict.__setitem__(self, Key, Sdict2[Key])
643 def __setitem__(self, Key, CommentVal): member in MergeCommentDict
648 dict.__setitem__(self, Key, (OrigVal1 + GenericComment, OrigVal2 \
651 dict.__setitem__(self, Key, (GenericComment, TailComment))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DDbm.py27 def __setitem__(self, key, value): member in Dbm
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/
Dheaders.py43 def __setitem__(self, name, val): member in Headers
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py1103 def __setitem__(self, key, value): member in sdict
1106 IterableUserDict.__setitem__(self, key, value)
1134 IterableUserDict.__setitem__(self, newkey, newvalue)
1137 IterableUserDict.__setitem__(self, newkey, newvalue)
1144 IterableUserDict.__setitem__(self, key, sdict[key])
1218 dict.__setitem__(self, Key, "")
1221 def __setitem__(self, key, value): member in rdict
1225 dict.__setitem__(self, key, value)
1240 self.__setitem__(Key, "")
1341 def __setitem__(self, key, value): member in tdict
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dweakref.py98 def __setitem__(self, key, value): member in WeakValueDictionary
320 def __setitem__(self, key, value): member in WeakKeyDictionary
Dcopy.py425 def __setitem__(self, k, i): member in _test.odict
426 dict.__setitem__(self, k, i)
Dcollections.py59 def __setitem__(self, key, value, dict_setitem=dict.__setitem__): member in OrderedDict
D_abcoll.py502 def __setitem__(self, key, value): member in MutableMapping
647 def __setitem__(self, index, value): member in MutableSequence
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dos.py433 def __setitem__(self, key, item): member in _Environ
484 def __setitem__(self, key, item): member in _Environ
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dos.py448 def __setitem__(self, key, item): member in _Environ
499 def __setitem__(self, key, item): member in _Environ

123