]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix typo on docstring in datastructures file (#2887)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Wed, 21 Jul 2021 12:14:34 +0000 (14:14 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Jul 2021 12:14:34 +0000 (14:14 +0200)
fastapi/datastructures.py

index f22409c5175b77757095d95b66c532dd86e340af..6a44a7df4ff339e4526ffcf5016aacf2e18d12b2 100644 (file)
@@ -21,7 +21,7 @@ class DefaultPlaceholder:
     You shouldn't use this class directly.
 
     It's used internally to recognize when a default value has been overwritten, even
-    if the overriden default value was truthy.
+    if the overridden default value was truthy.
     """
 
     def __init__(self, value: Any):
@@ -42,6 +42,6 @@ def Default(value: DefaultType) -> DefaultType:
     You shouldn't use this function directly.
 
     It's used internally to recognize when a default value has been overwritten, even
-    if the overriden default value was truthy.
+    if the overridden default value was truthy.
     """
     return DefaultPlaceholder(value)  # type: ignore