summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-26 14:31:21 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-26 14:31:21 +0200
commit4f591e7d69ab96ee2bb3eff64c42ff48114cb511 (patch)
treead0aa6e7ae5e13b0c22254b977986a17ea68fb18
parentd7d4dfa9312c4ce32f91227f77976b54fa32b286 (diff)
downloadastroid-git-4f591e7d69ab96ee2bb3eff64c42ff48114cb511.tar.gz
Add __setitem__ to deque's brain tip.
-rw-r--r--astroid/brain/brain_stdlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/brain/brain_stdlib.py b/astroid/brain/brain_stdlib.py
index 27e9771d..002f3472 100644
--- a/astroid/brain/brain_stdlib.py
+++ b/astroid/brain/brain_stdlib.py
@@ -143,6 +143,7 @@ class deque(object):
def __iter__(self): return self
def __reversed__(self): return self.iterable[::-1]
def __getitem__(self, index): pass
+ def __setitem__(self, index, value): pass
''')