Merge pull request #1464 from MonsieurV/patch-1
Update interop doc: print function is lower-case
This commit is contained in:
commit
862732ff2a
3
AUTHORS
3
AUTHORS
@ -84,4 +84,5 @@
|
||||
* Andrew Silva <asilva@law.harvard.edu>
|
||||
* Zaheer Soebhan <z.soebhan@gmail.com>
|
||||
* Rob Day <rkd@rkd.me.uk>
|
||||
* Eric Kaschalk <ekaschalk@gmail.com>
|
||||
* Eric Kaschalk <ekaschalk@gmail.com>
|
||||
* Yoan Tournade <yoan@ytotech.com>
|
||||
|
@ -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::
|
||||
|
Loading…
Reference in New Issue
Block a user