From 325f873f1e0f4e50bcfeded98f11f4bc226e02f4 Mon Sep 17 00:00:00 2001 From: Foxboron Date: Tue, 2 Sep 2014 22:26:47 +0200 Subject: [PATCH] Fixed (read) docs as mentioned inn #641 --- docs/language/core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language/core.rst b/docs/language/core.rst index f18eedf..59d6a5b 100644 --- a/docs/language/core.rst +++ b/docs/language/core.rst @@ -907,7 +907,7 @@ Return an iterator of `x`, `fn(x)`, `fn(fn(x))`. read ---- -Usage: ``(read [from-file eof])`` +Usage: ``(read &optional [from-file eof])`` Reads the next hy expression from `from-file` (defaults to `sys.stdin`), and can take a single byte as EOF (defaults to an empty string).