csv: annotate keyword arguments in various functions and methods (#7788)

This commit is contained in:
Alex Waygood
2022-05-08 05:01:20 +01:00
committed by GitHub
parent 4e946b74bf
commit 3ed7e3ba50
3 changed files with 68 additions and 9 deletions

View File

@@ -78,6 +78,8 @@ csv.Dialect.doublequote
csv.Dialect.lineterminator
csv.Dialect.quoting
csv.Dialect.skipinitialspace
csv.DictReader.__init__ # runtime sig has *args but will error if more than 5 positional args are supplied
csv.DictWriter.__init__ # runtime sig has *args but will error if more than 5 positional args are supplied
ctypes.Array.__iter__ # mypy doesn't support using __getitem__ instead of __iter__ so this is here https://github.com/python/mypy/issues/2220
ctypes.Array._type_ # _type_ and _length_ are abstract, https://github.com/python/typeshed/pull/6361
ctypes.Array._length_