Skip to content

Commit 2acba31

Browse files
tlaferrieretomschr
andauthored
Apply suggestions to fix typos and use appropriate directives
Co-authored-by: Tom Schraitle <tomschr@users.noreply.github.com>
1 parent 04c51be commit 2acba31

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/usage.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ Other types cannot be compared.
447447

448448
If you need to convert some types into others, refer to :ref:`sec.convert.versions`.
449449

450-
The use of these comparison operators also implies that you can also use builtin
450+
The use of these comparison operators also implies that you can use builtin
451451
functions that leverage this capability; builtins including but not limited to: :func:`max`, :func:`min`
452452
(refer to :ref:`sec_max_min` for examples) and :func:`sorted`.
453453

@@ -482,10 +482,11 @@ That gives you the following possibilities to express your condition:
482482
483483
.. _sec_max_min:
484484

485-
Getting Minimum and Maximum of multiple Versions
485+
Getting Minimum and Maximum of Multiple Versions
486486
-------------------------------------------
487-
*Changed in version 2.10.2:* :func:`semver.max_ver` and :func:`semver.min_ver` functions are deprecated in favor of their builtin counterparts
488-
:func:`max` and :func:`min`.
487+
.. versionchanged:: 2.10.2
488+
The functions :func:`semver.max_ver` and :func:`semver.min_ver` are deprecated in
489+
favor of their builtin counterparts :func:`max` and :func:`min`.
489490

490491
Since :class:`semver.VersionInfo` implements :func:`__gt__()` and :func:`__lt__()`, it can be used with builtins requiring
491492

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy