Update interop doc: print function is lower-case
(A typo made use of Print function, which is not defined)
This commit is contained in:
parent
0baedaa5c4
commit
52292da695
@ -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