Skip to content

Commit

Permalink
replace U+2019 with U+0027 in docstrings (pydantic#4714)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Nov 3, 2022
1 parent 594effa commit c381e5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydantic/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 fields 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.
Expand Down Expand Up @@ -379,7 +379,7 @@ def PrivateAttr(
Private attrs are stored in model __slots__.
:param default: the attributes 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.
"""
Expand Down

0 comments on commit c381e5b

Please sign in to comment.