Make ctypes.Array abstract (#6361)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Nikita SobolevandAkuli authored and GitHub committed 2021-11-28 22:42:23 +02:00
1 parent 77d820c76c
commit d0ce310f55
2 files changed
+13 -2

No files matched your search

+2
View File
@@ -73,6 +73,8 @@ csv.Dialect.lineterminator
csv.Dialect.quoting
csv.Dialect.skipinitialspace
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_
ctypes.CDLL._FuncPtr # None at class level but initialized in __init__ to this value
ctypes.memmove # CFunctionType
ctypes.memset # CFunctionType