8000 Fix typo in is_instance_schema docstring (pydantic/pydantic-core#1087) · pydantic/pydantic@7a40f71 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a40f71

Browse files
authored
Fix typo in is_instance_schema docstring (pydantic/pydantic-core#1087)
Original-commit-hash: 7634e5e
1 parent 4d11f7f commit 7a40f71

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)
0