summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Redington <alex.redington@thinkrelevance.com>2010-11-12 13:21:34 -0500
committerStuart Halloway <stu@thinkrelevance.com>2010-11-29 21:02:38 -0500
commit8bb9789f0ff510ccb0b48891923a1e5148bdfe69 (patch)
treef618348e66caee614084c3f4df9cccc020c58f8e
parent40da6266790a264ea6a13ee93ca38a0555718aa2 (diff)
Updated the docstring on slurp to indicate it accepts an arbitrary clojure.java.io/reader
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
-rw-r--r--src/clj/clojure/core.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index d27ba3fe..04f372e9 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -5798,8 +5798,8 @@
opts))
(defn slurp
- "Reads the file named by f using the encoding enc into a string
- and returns it."
+ "Opens a reader on f and reads all its contents, returning a string.
+ See clojure.java.io/reader for a complete list of supported arguments."
{:added "1.0"}
([f & opts]
(let [opts (normalize-slurp-opts opts)