From 9f782a85e0acb3550e969480a16ed783c44ff0f0 Mon Sep 17 00:00:00 2001 From: Evgenii Prusov Date: Sat, 5 Dec 2026 19:38:42 +0000 Subject: [PATCH] Fix duplicated 'when' in Data.chunk_start/chunk_end docstrings --- h11/_events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h11/_events.py b/h11/_events.py index ca1c3ad..c40107c 100644 --- a/h11/_events.py +++ b/h11/_events.py @@ -273,7 +273,7 @@ class Data(Event): .. attribute:: chunk_start A marker that indicates whether this data object is from the start of a - chunked transfer encoding chunk. This field is ignored when when a Data + chunked transfer encoding chunk. This field is ignored when a Data event is provided to :meth:`Connection.send`: it is only valid on events emitted from :meth:`Connection.next_event`. You probably shouldn't use this attribute at all; see @@ -282,7 +282,7 @@ class Data(Event): .. attribute:: chunk_end A marker that indicates whether this data object is the last for a - given chunked transfer encoding chunk. This field is ignored when when + given chunked transfer encoding chunk. This field is ignored when a Data event is provided to :meth:`Connection.send`: it is only valid on events emitted from :meth:`Connection.next_event`. You probably shouldn't use this attribute at all; see