Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot access nested class #259

Description

@JukkaL

The type checker complains about the self.B() call in the program below:

class A:
    class B: pass
    def f(self) -> None:
        self.B()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions