Skip to content

Commit bd0bde2

Browse files
authored
Fix typo in InitErrorDetails.type documentation (#1645)
1 parent 6a31b3b commit bd0bde2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class ErrorDetails(_TypedDict):
9898

9999
class InitErrorDetails(_TypedDict):
100100
type: str | PydanticCustomError
101-
"""The type of error that occurred, this should a "slug" identifier that changes rarely or never."""
101+
"""The type of error that occurred, this should be a "slug" identifier that changes rarely or never."""
102102
loc: _NotRequired[tuple[int | str, ...]]
103103
"""Tuple of strings and ints identifying where in the schema the error occurred."""
104104
input: _Any

0 commit comments

Comments
 (0)