diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-26 14:31:21 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-26 14:31:21 +0200 |
commit | 80ae0ca956f3331a6511f4d2315bbc5d1362aaed (patch) | |
tree | 3b4180aa790cad72cba8fd7e444bc553025f4560 | |
parent | 96f090f9a420f784587dac18e5ed630fc9c7722f (diff) | |
download | astroid-80ae0ca956f3331a6511f4d2315bbc5d1362aaed.tar.gz |
Add __setitem__ to deque's brain tip.
-rw-r--r-- | astroid/brain/brain_stdlib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/brain/brain_stdlib.py b/astroid/brain/brain_stdlib.py index 27e9771..002f347 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 ''') |