Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update web_urldispatcher.py
  • Loading branch information
Dreamsorcerer authored Oct 25, 2025
commit 97d3693fcddf902f09cd1e168f7cc90c936beae2
6 changes: 1 addition & 5 deletions aiohttp/web_urldispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
if TYPE_CHECKING:
from .web_app import Application

BaseDict = dict[str, str]
else:
BaseDict = dict

CIRCULAR_SYMLINK_ERROR = (RuntimeError,) if sys.version_info < (3, 13) else ()

HTTP_METHOD_RE: Final[Pattern[str]] = re.compile(
Expand Down Expand Up @@ -212,7 +208,7 @@ async def handle_expect_header(self, request: Request) -> StreamResponse | None:
return await self._expect_handler(request)


class UrlMappingMatchInfo(BaseDict, AbstractMatchInfo):
class UrlMappingMatchInfo(dict[str, str], AbstractMatchInfo):

__slots__ = ("_route", "_apps", "_current_app", "_frozen")

Expand Down
Loading