mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
third-party: make some protocol params pos-only (#11006)
This commit is contained in:
@@ -8,7 +8,7 @@ from typing_extensions import Literal, Self
|
||||
from webob.response import Response
|
||||
|
||||
class _JSONFormatter(Protocol):
|
||||
def __call__(self, body: str, status: str, title: str, environ: WSGIEnvironment) -> str: ...
|
||||
def __call__(self, *, body: str, status: str, title: str, environ: WSGIEnvironment) -> str: ...
|
||||
|
||||
class HTTPException(Exception):
|
||||
wsgi_response: Response
|
||||
|
||||
Reference in New Issue
Block a user