Skip to content

Commit

Permalink
Fix typo in is_instance_schema docstring (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswinger committed Nov 21, 2023
1 parent be9c21c commit 7634e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pydantic_core/core_schema.py
Expand Up @@ -1196,7 +1196,7 @@ def is_instance_schema(
serialization: SerSchema | None = None,
) -> IsInstanceSchema:
"""
Returns a schema that checks if a value is an instance of a class, equivalent to python's `isinstnace` method, e.g.:
Returns a schema that checks if a value is an instance of a class, equivalent to python's `isinstance` method, e.g.:
```py
from pydantic_core import SchemaValidator, core_schema
Expand Down

0 comments on commit 7634e5e

Please sign in to comment.