]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Simplify phrase from Jelle's feedback, typing_extension not only includes typing...
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 28 Aug 2023 14:05:42 +0000 (16:05 +0200)
committerSebastián Ramírez <tiangolo@gmail.com>
Mon, 28 Aug 2023 14:05:42 +0000 (16:05 +0200)
typing_doc.md

index 97eff22d1fb203391806ed3bd2841b7fedbf39db..937aac572966c5481b708b82008bc88a98d31a0e 100644 (file)
@@ -36,7 +36,7 @@ This doesn't deprecate current usage of docstrings, it's transparent to common d
 
 The main proposal is to have a new function `doc()` in the `typing` module. Even though this is not strictly related to the type annotations, it's expected to go in `Annotated` type annotations, and to interact with type annotations.
 
-There's also the particular benefit to having it in `typing` that it could be implemented in the `typing_extensions` package to have support for older versions of Python.
+There's also the particular benefit that it could be implemented in the `typing_extensions` package to have support for older versions of Python.
 
 This `doc()` function would receive one single parameter `documentation` with a documentation string.