From b07248305bf5ce36eef3fc8c8d751e7a7737ef7c Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Thu, 23 Dec 2021 09:24:41 +0300 Subject: [PATCH] 440: Extend example to clarify 1.dev0 < 1.0.15 (#2108) >>> from packaging.version import Version >>> Version("1.dev0") > Version("1.0.15") False --- pep-0440.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pep-0440.txt b/pep-0440.txt index 2fa3dacf18a..340bba32cc2 100644 --- a/pep-0440.txt +++ b/pep-0440.txt @@ -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