Replace incomplete module markers (#14030)

This commit is contained in:
Sebastian Rittau
2025-05-13 08:53:39 +02:00
committed by GitHub
parent 8b877a6993
commit e08e349699
84 changed files with 89 additions and 199 deletions
+1 -3
View File
@@ -1,3 +1 @@
from typing import Any
def __getattr__(name: str) -> Any: ...
def __getattr__(name: str): ... # incomplete module
+1 -2
View File
@@ -1,4 +1,3 @@
from _typeshed import Incomplete
from codecs import CodecInfo
class CodecRegistryError(LookupError, SystemError): ...
@@ -7,4 +6,4 @@ def normalize_encoding(encoding: str | bytes) -> str: ...
def search_function(encoding: str) -> CodecInfo | None: ...
# Needed for submodules
def __getattr__(name: str) -> Incomplete: ...
def __getattr__(name: str): ... # incomplete module