Skip to content

Commit 7634e5e

Browse files
authored
Fix typo in is_instance_schema docstring (#1087)
1 parent be9c21c commit 7634e5e

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
@@ -1196,7 +1196,7 @@ def is_instance_schema(
11961196
serialization: SerSchema | None = None,
11971197
) -> IsInstanceSchema:
11981198
"""
1199-
Returns a schema that checks if a value is an instance of a class, equivalent to python's `isinstnace` method, e.g.:
1199+
Returns a schema that checks if a value is an instance of a class, equivalent to python's `isinstance` method, e.g.:
12001200
12011201
```py
12021202
from pydantic_core import SchemaValidator, core_schema

0 commit comments

Comments
 (0)