From 7634e5e74a26c10d5d2b5c6a39017ea576a5d94d Mon Sep 17 00:00:00 2001 From: Marius Lie Winger <89073985+mariuswinger@users.noreply.github.com> Date: Tue, 21 Nov 2023 15:27:01 +0100 Subject: [PATCH] Fix typo in is_instance_schema docstring (#1087) --- python/pydantic_core/core_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pydantic_core/core_schema.py b/python/pydantic_core/core_schema.py index fec3b9966..c097d740e 100644 --- a/python/pydantic_core/core_schema.py +++ b/python/pydantic_core/core_schema.py @@ -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