Skip to content

Commit 7f169bc

Browse files
author
yuj
committed
Use plain inline code for LineTooLong in CHANGES entry
Sphinx nitpicky mode can't resolve :exc:`~aiohttp.http_exceptions.LineTooLong` since the exception isn't autodoc'd. Match the convention from other CHANGES entries (e.g. 10611.bugfix.rst) and use plain inline code instead.
1 parent f35a1f9 commit 7f169bc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGES/7177.bugfix.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Improved the :exc:`~aiohttp.http_exceptions.LineTooLong` error message to
2-
describe which part of the HTTP message exceeded the limit (e.g. the request
3-
URL, status reason phrase, header field name/value, request/status line, or
4-
trailer). Previously, every overflow reported a generic ``"when reading:"``
5-
prefix, which was confusing when only the URL was too long but the message was
6-
historically labeled as a status-line overflow -- by :user:`Ricardo-M-L`.
1+
Improved the ``LineTooLong`` error message to describe which part of the HTTP
2+
message exceeded the limit (e.g. the request URL, status reason phrase, header
3+
field name/value, request/status line, or trailer). Previously, every overflow
4+
reported a generic ``"when reading:"`` prefix, which was confusing when only
5+
the URL was too long but the message was historically labeled as a status-line
6+
overflow -- by :user:`Ricardo-M-L`.

0 commit comments

Comments
 (0)