summaryrefslogtreecommitdiff
path: root/astroid/brain/brain_collections.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-04-12 15:17:56 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-04-12 15:17:56 +0200
commitc56cb34d2b7782097d4e2ba2e2b08081ca7aad55 (patch)
tree74e04a73db8bba469a6209acc60d18b7376902dd /astroid/brain/brain_collections.py
parentc5d7e0182f0ffbac4ed271fcde9aba1a8d780198 (diff)
downloadastroid-git-c56cb34d2b7782097d4e2ba2e2b08081ca7aad55.tar.gz
deque.rotate has a default paramter. Close PyCQA/pylint#2013
Diffstat (limited to 'astroid/brain/brain_collections.py')
-rw-r--r--astroid/brain/brain_collections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/brain_collections.py b/astroid/brain/brain_collections.py
index 48eba485..d0594571 100644
--- a/astroid/brain/brain_collections.py
+++ b/astroid/brain/brain_collections.py
@@ -36,7 +36,7 @@ def _deque_mock():
def popleft(self): pass
def remove(self, value): pass
def reverse(self): pass
- def rotate(self, n): pass
+ def rotate(self, n=1): pass
def __iter__(self): return self
def __reversed__(self): return self.iterable[::-1]
def __getitem__(self, index): pass