From 20820c030c5025872cf235935784984553d36651 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Thu, 20 May 2021 13:54:30 +0200 Subject: [PATCH] Update docs on request cookies So it matches what is actually used in the code See https://github.com/aio-libs/aiohttp/blob/63eb6ff550b2ba9f13cf5248980a4958e14a1af7/aiohttp/web_request.py#L565-L573 --- CHANGES/5725.doc | 2 ++ docs/web_reference.rst | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 CHANGES/5725.doc diff --git a/CHANGES/5725.doc b/CHANGES/5725.doc new file mode 100644 index 00000000000..1b50453f0b7 --- /dev/null +++ b/CHANGES/5725.doc @@ -0,0 +1,2 @@ +Fixed docs on request cookies type, so it matches what is actually used in the code (a +read-only dictionary-like object). diff --git a/docs/web_reference.rst b/docs/web_reference.rst index f4da15af2c1..5aaeb45c8d6 100644 --- a/docs/web_reference.rst +++ b/docs/web_reference.rst @@ -219,9 +219,9 @@ and :ref:`aiohttp-web-signals` handlers. .. attribute:: cookies - A multidict of all request's cookies. + A read-only dictionary-like object containing the request's cookies. - Read-only :class:`~multidict.MultiDictProxy` lazy property. + Read-only property. .. attribute:: content