third-party: make some protocol params pos-only (#11006)

This commit is contained in:
Jelle Zijlstra
2023-11-09 22:40:10 -08:00
committed by GitHub
parent 4deef7550f
commit 0c7bdffa90
7 changed files with 11 additions and 11 deletions

View File

@@ -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