[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/3] guix import pypi: Fix a type in a docstring.
From: |
Cyril Roelandt |
Subject: |
[PATCH 3/3] guix import pypi: Fix a type in a docstring. |
Date: |
Thu, 16 Oct 2014 00:49:14 +0200 |
* guix/import/pypi.scm (snake-case): Fix documentation.
---
guix/import/pypi.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 722ad9d..12abbac 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -117,8 +117,8 @@ recursively apply the procedure to the sub-list."
(assoc-ref* pypi-package "info" "version")))))
(define (snake-case str)
- "Return a downcased version of the string STR where dashes are replaced with
-underscores."
+ "Return a downcased version of the string STR where underscores are replaced
+with dashes."
(string-join (string-split (string-downcase str) #\_) "-"))
(define (guix-hash-url url)
--
1.8.4.rc3