Merge pull request #1464 from MonsieurV/patch-1

Update interop doc: print function is lower-case
This commit is contained in:
Kodi Arfer 2017-12-09 14:22:05 -08:00 committed by GitHub
commit 862732ff2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -85,3 +85,4 @@
* Zaheer Soebhan <z.soebhan@gmail.com>
* Rob Day <rkd@rkd.me.uk>
* Eric Kaschalk <ekaschalk@gmail.com>
* Yoan Tournade <yoan@ytotech.com>

View File

@ -77,7 +77,7 @@ If you save the following in ``greetings.hy``:
.. code-block:: clj
(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
the module. In Python::