guix import pypi: Fix a typo in a docstring.
* guix/import/pypi.scm (snake-case): Fix documentation.
This commit is contained in:
parent
a5ffa812b8
commit
68b18aae6a
|
@ -117,8 +117,8 @@ recursively apply the procedure to the sub-list."
|
||||||
(assoc-ref* pypi-package "info" "version")))))
|
(assoc-ref* pypi-package "info" "version")))))
|
||||||
|
|
||||||
(define (snake-case str)
|
(define (snake-case str)
|
||||||
"Return a downcased version of the string STR where dashes are replaced with
|
"Return a downcased version of the string STR where underscores are replaced
|
||||||
underscores."
|
with dashes."
|
||||||
(string-join (string-split (string-downcase str) #\_) "-"))
|
(string-join (string-split (string-downcase str) #\_) "-"))
|
||||||
|
|
||||||
(define (guix-hash-url url)
|
(define (guix-hash-url url)
|
||||||
|
|
Loading…
Reference in New Issue