mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
Replace incomplete module markers (#14030)
This commit is contained in:
+1
-3
@@ -1,3 +1 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
def __getattr__(name: str): ... # incomplete module
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user