mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-22 01:28:29 +08:00
Use typing_extensions.Self instead of _typeshed.Self (#9702)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import http.client
|
||||
from _typeshed import Incomplete, Self
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Generator
|
||||
from typing import Any, ClassVar
|
||||
from typing_extensions import Self
|
||||
|
||||
from .error import *
|
||||
|
||||
@@ -184,4 +185,4 @@ class Response(dict[str, Any]):
|
||||
previous: Any
|
||||
def __init__(self, info) -> None: ...
|
||||
@property
|
||||
def dict(self: Self) -> Self: ...
|
||||
def dict(self) -> Self: ...
|
||||
|
||||
Reference in New Issue
Block a user