mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-25 05:57:22 +08:00
Upgrade pyright, improve pyright config files (#8072)
This commit is contained in:
1 parent
a2ef47660a
commit
6b0c8df9ec
12 files changed
+59
-29
No files matched your search
@@ -190,7 +190,9 @@ def wstring_at(address: _CVoidConstPLike, size: int = ...) -> str: ...
|
||||
|
||||
class _SimpleCData(Generic[_T], _CData):
|
||||
value: _T
|
||||
def __init__(self, value: _T = ...) -> None: ...
|
||||
# The TypeVar can be unsolved here,
|
||||
# but we can't use overloads without creating many, many mypy false-positive errors
|
||||
def __init__(self, value: _T = ...) -> None: ... # type: ignore
|
||||
|
||||
class c_byte(_SimpleCData[int]): ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user