From c381e5b73e6ff1396805b6ff73f396fdf7a586b1 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Thu, 3 Nov 2022 02:46:18 -0500 Subject: [PATCH] replace U+2019 with U+0027 in docstrings (#4714) --- pydantic/fields.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pydantic/fields.py b/pydantic/fields.py index 73aaa65..1c952d3 100644 --- a/pydantic/fields.py +++ b/pydantic/fields.py @@ -265,7 +265,7 @@ def Field( Used to provide extra information about a field, either for the model schema or complex validation. Some arguments apply only to number fields (``int``, ``float``, ``Decimal``) and some apply only to ``str``. - :param default: since this is replacing the field’s default, its first argument is used + :param default: since this is replacing the field's default, its first argument is used to set the default, use ellipsis (``...``) to indicate the field is required :param default_factory: callable that will be called when a default value is needed for this field If both `default` and `default_factory` are set, an error is raised. @@ -379,7 +379,7 @@ def PrivateAttr( Private attrs are stored in model __slots__. - :param default: the attribute’s default value + :param default: the attribute's default value :param default_factory: callable that will be called when a default value is needed for this attribute If both `default` and `default_factory` are set, an error is raised. """