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 b32252f commit f466b95Copy full SHA for f466b95
mypy/plugins/attrs.py
@@ -971,7 +971,7 @@ def _get_expanded_attr_types(
971
parent_typ: ProperType,
972
) -> list[Mapping[str, Type]] | None:
973
"""
974
- For a given type, determine what attrs classes it can be, and returns the field types for each class.
+ For a given type, determine what attrs classes it can be, and return the field types for each class.
975
For generic classes, the field types are expanded.
976
If the type contains Any or a non-attrs type, returns None; in the latter case, also reports an error.
977
0 commit comments