Skip to content

Commit 9d9f148

Browse files
committed
fix docstring
1 parent 533367f commit 9d9f148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/core_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2212,7 +2212,7 @@ def with_default_schema(
22122212
schema: The schema to add a default value to
22132213
default: The default value to use
22142214
default_factory: A function that returns the default value to use
2215-
default_factory: A function to compare the default value with any other given
2215+
default_comparison: A function to compare the default value with any other given
22162216
on_error: What to do if the schema validation fails. One of 'raise', 'omit', 'default'
22172217
validate_default: Whether the default value should be validated
22182218
strict: Whether the underlying schema should be validated with strict mode

0 commit comments

Comments
 (0)