Class attributes __qualname__
and __module__
should be accessible within class body
#10570
Labels
__qualname__
and __module__
should be accessible within class body
#10570
The attributes
__qualname__
and__module__
appear to be accessible from within a class body. These accesses don't generate a runtime error, but mypy reports a "not defined" error.This is related to the following bug filed against pyright: microsoft/pylance-release#1376.
The text was updated successfully, but these errors were encountered: