Skip to content

Commit

Permalink
Add missing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
chan-vince committed Mar 26, 2024
1 parent d4a46cd commit 75a6f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydantic/_internal/_fields.py
Expand Up @@ -193,8 +193,8 @@ def collect_model_fields( # noqa: C901
# on the class instance.
continue
warnings.warn(
f'Field name "{ann_name}" in {cls.__qualname__} shadows an attribute in parent '
f'{base.__qualname__}',
f'Field name "{ann_name}" in "{cls.__qualname__}" shadows an attribute in parent '
f'"{base.__qualname__}"',
UserWarning,
)

Expand Down

0 comments on commit 75a6f02

Please sign in to comment.