[Python-checkins] distutils2: Fix typos in comments.

eric.araujo python-checkins at python.org
Mon Feb 6 16:11:36 CET 2012


http://hg.python.org/distutils2/rev/8a6c9e5ccfe2
changeset:   1275:8a6c9e5ccfe2
parent:      1273:730c2e4aaf9c
user:        Éric Araujo <merwok at netwok.org>
date:        Mon Feb 06 15:23:55 2012 +0100
summary:
  Fix typos in comments.

Reported by David-Sarah Hopwood on the Bitbucket bug tracker of the
former verlib/distutilsversion project.

files:
  distutils2/version.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/distutils2/version.py b/distutils2/version.py
--- a/distutils2/version.py
+++ b/distutils2/version.py
@@ -293,12 +293,12 @@
 
     # The 'r' and the '-' tags are post release tags
     #   0.4a1.r10       ->  0.4a1.post10
-    #   0.9.33-17222    ->  0.9.3.post17222
-    #   0.9.33-r17222   ->  0.9.3.post17222
+    #   0.9.33-17222    ->  0.9.33.post17222
+    #   0.9.33-r17222   ->  0.9.33.post17222
     rs = re.sub(r"\.?(r|-|-r)\.?(\d+)$", r".post\2", rs)
 
     # Clean 'r' instead of 'dev' usage:
-    #   0.9.33+r17222   ->  0.9.3.dev17222
+    #   0.9.33+r17222   ->  0.9.33.dev17222
     #   1.0dev123       ->  1.0.dev123
     #   1.0.git123      ->  1.0.dev123
     #   1.0.bzr123      ->  1.0.dev123

-- 
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list