From 331a2a8c6438edf477e0ef284f3f5a09e6c91d36 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Thu, 14 Oct 2021 10:41:27 +0300 Subject: [PATCH] 440: Extend example to clarify 1.0.dev0 < 1.0.15 >>> from packaging.version import Version >>> Version("1.0.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 2fa3dacf18a0..340bba32cc2b 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