aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2014-10-16 00:46:15 +0200
committerCyril Roelandt <tipecaml@gmail.com>2014-10-22 02:47:29 +0200
commit68b18aae6a9bcdb0940fb957f3ab9bbfa0370d83 (patch)
tree099dfae234c06739b9e09a5bfa674b1d67ccd491
parenta5ffa812b8cb01f5904e587ed629960902004654 (diff)
downloadpatches-68b18aae6a9bcdb0940fb957f3ab9bbfa0370d83.tar
patches-68b18aae6a9bcdb0940fb957f3ab9bbfa0370d83.tar.gz
guix import pypi: Fix a typo in a docstring.
* guix/import/pypi.scm (snake-case): Fix documentation.
-rw-r--r--guix/import/pypi.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index a0b3eb5a7b..6480c044c5 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)