DictWriter signed as unsubscriptable #6519
Labels
C: unsubscriptable-object
Issues related to 'unsubscriptable-object' check
Invalid
Not a bug, already exists or already fixed
typing
Bug description
Command used
Pylint output
Expected behavior
No error, as DictWriter is defined as class DictWriter(Generic[_T]) (https://github.com/python/typeshed/blob/master/stdlib/csv.pyi)
On a side note, mypy doesn't complain about the code, but it does complain for
Pylint version
OS / Environment
Microsoft Windows [Version 10.0.19042.1645]
The text was updated successfully, but these errors were encountered: