pylint-dev / pylint-dev/astroid

Instances don't know their arguments

Open
#142 1 comment 0 reactions 1 assignee Claimed by @PCManticore View on GitHub
Bug 🪳
Dominant language
Python
Stars
582
Forks
357
Avg merge
1d 1h
Merged PRs (30d)
23

Description

Originally reported by: **Claudiu Popa (BitBucket: [PCManticore](http://bitbucket.org/PCManticore), GitHub: @PCManticore)**

---

```
#!python

class A:
def __init__(self, first, second):
self.first = first
self.second = second
a = A(1, 2)
a.first # infer it as 1
```

---
- Bitbucket: https://bitbucket.org/logilab/astroid/issue/142

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.