mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 02:42:29 +08:00
Remove @override annotations (#14806)
This commit is contained in:
@@ -4,7 +4,6 @@ import sys
|
||||
import urllib.request
|
||||
from _typeshed import Incomplete, SupportsKeysAndGetItem
|
||||
from typing import Any, TypeVar
|
||||
from typing_extensions import override
|
||||
|
||||
import socks
|
||||
|
||||
@@ -33,7 +32,6 @@ class SocksiPyConnection(http.client.HTTPConnection): # undocumented
|
||||
source_address: tuple[str, int] | None = None,
|
||||
blocksize: int = 8192,
|
||||
) -> None: ...
|
||||
@override
|
||||
def connect(self) -> None: ...
|
||||
|
||||
class SocksiPyConnectionS(http.client.HTTPSConnection): # undocumented
|
||||
@@ -77,7 +75,6 @@ class SocksiPyConnectionS(http.client.HTTPSConnection): # undocumented
|
||||
blocksize: int = 8192,
|
||||
) -> None: ...
|
||||
|
||||
@override
|
||||
def connect(self) -> None: ...
|
||||
|
||||
class SocksiPyHandler(urllib.request.HTTPHandler, urllib.request.HTTPSHandler):
|
||||
@@ -96,7 +93,5 @@ class SocksiPyHandler(urllib.request.HTTPHandler, urllib.request.HTTPSHandler):
|
||||
blocksize: int = 8192,
|
||||
**kwargs: Any, # any additional arguments to `SocksiPyConnection` or `SocksiPyConnectionS`
|
||||
) -> None: ...
|
||||
@override
|
||||
def http_open(self, req: urllib.request.Request) -> http.client.HTTPResponse: ... # undocumented
|
||||
@override
|
||||
def https_open(self, req: urllib.request.Request) -> http.client.HTTPResponse: ... # undocumented
|
||||
|
||||
Reference in New Issue
Block a user