1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-01 04:19:55 +00:00

Make docstring less confusing - Fix #493.

This commit is contained in:
Calvin Rose 2020-11-02 09:09:22 -06:00
parent 4d21b582c7
commit 540425a41b

View File

@ -1743,8 +1743,8 @@ static const JanetReg os_cfuns[] = {
}, },
{ {
"os/sleep", os_sleep, "os/sleep", os_sleep,
JDOC("(os/sleep nsec)\n\n" JDOC("(os/sleep n)\n\n"
"Suspend the program for nsec seconds. 'nsec' can be a real number. Returns " "Suspend the program for n seconds. 'nsec' can be a real number. Returns "
"nil.") "nil.")
}, },
{ {