mirror of
https://github.com/fastapi/fastapi.git
synced 2026-09-26 05:15:17 -04:00
Fix comment about SSE event terminator
This commit is contained in:
1 parent
50113da16f
commit
1a5d4bcedd
1 file changed
+1
-1
+1
-1
@@ -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] = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user