mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix typo on docstring in datastructures file (#2887)
This commit is contained in:
parent
bcd06fdfdf
commit
1ce7258a01
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue