We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78f4b5 commit 8a5d8f0Copy full SHA for 8a5d8f0
docs/source/type_narrowing.rst
@@ -271,7 +271,7 @@ Generic TypeGuards
271
else:
272
reveal_type(names) # tuple[str, ...]
273
274
-Typeguards with parameters
+TypeGuards with parameters
275
~~~~~~~~~~~~~~~~~~~~~~~~~~
276
277
Type guard functions can accept extra arguments:
@@ -293,7 +293,7 @@ Type guard functions can accept extra arguments:
293
TypeGuards as methods
294
~~~~~~~~~~~~~~~~~~~~~
295
296
- A method can also serve as the ``TypeGuard``:
+A method can also serve as a ``TypeGuard``:
297
298
.. code-block:: python
299
0 commit comments