Update interop doc: print function is lower-case

(A typo made use of Print function, which is not defined)
This commit is contained in:
Yoan Tournade 2017-12-09 23:12:19 +01:00 committed by GitHub
parent 0baedaa5c4
commit 52292da695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ If you save the following in ``greetings.hy``:
.. code-block:: clj .. code-block:: clj
(setv *this-will-be-in-caps-and-underscores* "See?") (setv *this-will-be-in-caps-and-underscores* "See?")
(defn greet [name] (Print "hello from hy," name)) (defn greet [name] (print "hello from hy," name))
Then you can use it directly from Python, by importing Hy before importing Then you can use it directly from Python, by importing Hy before importing
the module. In Python:: the module. In Python::