Skip to content

Commit 6436374

Browse files
committed
docs(newsfragments): clean up newandimproved up to #2110
1 parent 9dda296 commit 6436374

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Basic typing annotations have been added to the most commonly used functions of
2-
Falcon's public interface to the package itself in order to better support
3-
`mypy <https://www.mypy-lang.org/>`_ users without having to install any
4-
third-party typeshed packages.
1+
Type annotations have been added to Falcon's public interface to the package
2+
itself in order to better support `Mypy <https://www.mypy-lang.org/>`__
3+
(or other type checkers) users without having to install any third-party
4+
typeshed packages.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
The default error serializer will now use the response media handlers
2-
to better negotiate the response serialization with the client.
2+
to better negotiate the response content type with the client.
33
The implementation still defaults to JSON if the client does not indicate any
44
preference.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
Add link-extension to :meth:`falcon.Response.append_link` as specified in
2-
`RFC 8288 Sec. 3.4.2 <https://datatracker.ietf.org/doc/html/rfc8288#section-3.4.2>`__.
1+
A new keyword argument, `link_extension`, was added to
2+
:meth:`falcon.Response.append_link` as specified in
3+
`RFC 8288, Section 3.4.2
4+
<https://datatracker.ietf.org/doc/html/rfc8288#section-3.4.2>`__.

falcon/response.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,10 +898,9 @@ def append_link(
898898
Can take values 'anonymous' or 'use-credentials' or None.
899899
(See:
900900
https://www.w3.org/TR/html50/infrastructure.html#cors-settings-attribute)
901-
link_extension(iterable): Provides additional custom attributes, as
902-
described in RFC 8288, Section 3.4.2. Each member of the iterable
901+
link_extension: Provides additional custom attributes, as
902+
described in RFC 8288, Section 3.4.2; each member of the iterable
903903
must be a two-tuple in the form of (*param*, *value*).
904-
(See: https://datatracker.ietf.org/doc/html/rfc8288#section-3.4.2)
905904
906905
"""
907906

0 commit comments

Comments
 (0)