Skip to content

Commit

Permalink
docs(typing): tweak misc stuff for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Nov 4, 2024
1 parent 6fbf085 commit 5672979
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/api/typing.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Typing Support
==============
Typing
======

Type checking support was introduced in version 4.0. While most of the library is
now typed, further type annotations may be added throughout the 4.x release cycle.
Expand Down Expand Up @@ -28,7 +28,7 @@ runtime behavior, but may surface new or different errors with type checkers.
missing from the public interface!


Known limitations
Known Limitations
-----------------

Falcon's emphasis on flexibility and performance presents certain
Expand Down Expand Up @@ -68,7 +68,7 @@ checking:
checking -- the above ``app`` will run just fine!


Public type aliases
Public Type Aliases
-------------------

.. automodule:: falcon.typing
Expand Down
2 changes: 1 addition & 1 deletion falcon/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# WSGI
class ReadableIO(Protocol):
"""File like protocol that defines only a read method."""
"""File-like protocol that defines only a read method."""

def read(self, n: Optional[int] = ..., /) -> bytes: ...

Expand Down

0 comments on commit 5672979

Please sign in to comment.