]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔥 Remove dangling extra condiitonal no longer needed (#14435)
authorSebastián Ramírez <tiangolo@gmail.com>
Tue, 2 Dec 2025 16:48:46 +0000 (08:48 -0800)
committerGitHub <noreply@github.com>
Tue, 2 Dec 2025 16:48:46 +0000 (16:48 +0000)
fastapi/routing.py

index 94e8b0722105725866bc5530e0740dcfe2462f26..c10175b1614291471f505158d2db88822c802a23 100644 (file)
@@ -3,7 +3,6 @@ import email.message
 import functools
 import inspect
 import json
-import sys
 from contextlib import AsyncExitStack, asynccontextmanager
 from enum import Enum, IntEnum
 from typing import (
@@ -79,11 +78,6 @@ from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send
 from starlette.websockets import WebSocket
 from typing_extensions import Annotated, deprecated
 
-if sys.version_info >= (3, 13):  # pragma: no cover
-    pass
-else:  # pragma: no cover
-    pass
-
 
 # Copy of starlette.routing.request_response modified to include the
 # dependencies' AsyncExitStack