From 1a5d4bcedd7e4f204624df2fa069411012a5a4ab Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Mon, 14 Sep 2026 20:46:59 +0200 Subject: [PATCH] Fix comment about SSE event terminator --- fastapi/sse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/sse.py b/fastapi/sse.py index c31334835..7eff1514e 100644 --- a/fastapi/sse.py +++ b/fastapi/sse.py @@ -207,7 +207,7 @@ def format_sse_event( ) -> bytes: """Build SSE wire-format bytes from **pre-serialized** data. - The result always ends with `\\n\\n` (the event terminator). + The result always ends with a blank line (the event terminator). """ lines: list[str] = []