File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ Other types cannot be compared.
447
447
448
448
If you need to convert some types into others, refer to :ref: `sec.convert.versions `.
449
449
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
451
451
functions that leverage this capability; builtins including but not limited to: :func: `max `, :func: `min `
452
452
(refer to :ref: `sec_max_min ` for examples) and :func: `sorted `.
453
453
@@ -482,10 +482,11 @@ That gives you the following possibilities to express your condition:
482
482
483
483
.. _sec_max_min :
484
484
485
- Getting Minimum and Maximum of multiple Versions
485
+ Getting Minimum and Maximum of Multiple Versions
486
486
-------------------------------------------
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 `.
489
490
490
491
Since :class: `semver.VersionInfo ` implements :func: `__gt__() ` and :func: `__lt__() `, it can be used with builtins requiring
491
492
You can’t perform that action at this time.
0 commit comments