We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7e2c6 commit e9c58d8Copy full SHA for e9c58d8
mypy/checker.py
@@ -4605,7 +4605,7 @@ def check_member_assignment(
4605
lvalue, is_lvalue=False
4606
)
4607
4608
- # Special case: if the rvalue_type is a subtype of both '__get__' type, and
+ # Special case: if the rvalue_type is a subtype of '__get__' type, and
4609
# '__get__' type is narrower than '__set__', then we invoke the binder to narrow type
4610
# by this assignment. Technically, this is not safe, but in practice this is
4611
# what a user expects.
0 commit comments