440: Extend example to clarify 1.dev0 < 1.0.15 (#2108)

>>> from packaging.version import Version
    >>> Version("1.dev0") > Version("1.0.15")
    False
This commit is contained in:
Anatoli Babenia 2021-12-23 09:24:41 +03:00 committed by GitHub
parent cb8b62e1d0
commit b07248305b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -676,6 +676,7 @@ shared prefix, ordering MUST be by the value of the numeric component.
The following example covers many of the possible combinations::
1.dev0
1.0.dev456
1.0a1
1.0a2.dev456
@ -693,6 +694,7 @@ The following example covers many of the possible combinations::
1.0+5
1.0.post456.dev34
1.0.post456
1.0.15
1.1.dev1