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

@ -84,4 +84,5 @@
* Andrew Silva <asilva@law.harvard.edu> * Andrew Silva <asilva@law.harvard.edu>
* Zaheer Soebhan <z.soebhan@gmail.com> * Zaheer Soebhan <z.soebhan@gmail.com>
* Rob Day <rkd@rkd.me.uk> * Rob Day <rkd@rkd.me.uk>
* Eric Kaschalk <ekaschalk@gmail.com> * 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 .. 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::