Merge branch 'pr/975'

This commit is contained in:
Tuukka Turto 2015-10-17 17:17:27 +03:00
commit 9a334c83bb

View File

@ -479,8 +479,7 @@ In Hy:
"Yet Another Example Class" "Yet Another Example Class"
(defn --init-- [self x] (defn --init-- [self x]
(setv self.x x) (setv self.x x))
None)
(defn get-x [self] (defn get-x [self]
"Return our copy of x" "Return our copy of x"
@ -615,7 +614,7 @@ To use keyword arguments, you can use in ``greetings.py``::
(import greetings) (import greetings)
(.greet greetings "Foo") (.greet greetings "Foo")
(.greet greetings "Foo" "Darth") (.greet greetings "Foo" "Darth")
(apply (. greetings greet) ["Foo"] {"title" "Lord"}) (apply (. greetings greet) ["Foo"] {:title "Lord"})
Which would output:: Which would output::