Skip to content

Commit cb68472

Browse files
jbkronertomschr
andcommitted
Update docs/advanced/combine-pydantic-and-semver.rst
Co-authored-by: Tom Schraitle <tomschr@users.noreply.github.com>
1 parent 861b7ea commit cb68472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/combine-pydantic-and-semver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ According to its homepage, `Pydantic <https://pydantic-docs.helpmanual.io>`_
99
"enforces type hints at runtime, and provides user friendly errors when data
1010
is invalid."
1111

12-
If you are working with Pydantic>2.0 and pydantic-extra-types>=2.10.0 you can use the built in `_VersionPydanticAnnotation` type, which wraps the `python-semver` `Version` type.
12+
If you are working with Pydantic>2.0 and pydantic-extra-types>=2.10.0 use the built in `_VersionPydanticAnnotation` type, which wraps the :class:`Version <semver.version.Version>` class.
1313

1414
.. code-block:: python
1515

0 commit comments

Comments
 (0)