Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
replace
1 parent 9d1b5bb commit 81a84aeCopy full SHA for 81a84ae
semver.py
@@ -812,7 +812,7 @@ def match(version, match_expr):
812
return ver.match(match_expr)
813
814
815
-@deprecated(replace="__builtin__.max", version="2.10.2")
+@deprecated(replace="max", version="2.10.2")
816
def max_ver(ver1, ver2):
817
"""
818
Returns the greater version of two versions strings.
@@ -836,7 +836,7 @@ def max_ver(ver1, ver2):
836
return ver2
837
838
839
-@deprecated(replace="__builtin__.min", version="2.10.2")
+@deprecated(replace="min", version="2.10.2")
840
def min_ver(ver1, ver2):
841
842
Returns the smaller version of two versions strings.
0 commit comments