Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deque.insert() signature #1272

Merged
merged 1 commit into from
Nov 22, 2021
Merged

Conversation

belm0
Copy link
Contributor

@belm0 belm0 commented Nov 22, 2021

Description

The collections brain had the arguments of deque.insert() reversed, which would case a false arguments-renamed error if an overriding class uses the correct order.

Type of Changes

Type
🐛 Bug fix

Closes #1260

@belm0 belm0 force-pushed the deque_insert_signature branch from fa15550 to de2619d Compare November 22, 2021 00:11
@cdce8p cdce8p added this to the 2.9.1 milestone Nov 22, 2021
@cdce8p cdce8p added Brain 🧠 Needs a brain tip Bug 🪳 labels Nov 22, 2021
Copy link
Member

@cdce8p cdce8p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks you @belm0 🐬

@cdce8p cdce8p merged commit 775c8f7 into pylint-dev:main Nov 22, 2021
@belm0 belm0 deleted the deque_insert_signature branch November 22, 2021 02:27
tushar-deepsource pushed a commit to tushar-deepsource/astroid that referenced this pull request Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Brain 🧠 Needs a brain tip Bug 🪳
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deque.insert() has reversed args
2 participants