Skip to content

Instances don't know their arguments #142

Open
@pylint-bot

Description

@pylint-bot

Originally reported by: Claudiu Popa (BitBucket: 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions