summaryrefslogtreecommitdiff
path: root/contrib/py-bindings/example.rst
diff options
context:
space:
mode:
authorjordi.saludes <jordi.saludes@upc.edu>2011-12-08 13:08:36 +0000
committerjordi.saludes <jordi.saludes@upc.edu>2011-12-08 13:08:36 +0000
commitbff947f44f70e3c3f5f4d25ed07524730ca56acf (patch)
tree61343d40937fb52800d7b4537016da64d8fd7a6d /contrib/py-bindings/example.rst
parent093ba41fa3a1c5d0e470d29fe1b3df4bc519fbb6 (diff)
Changed 'lin' method name to 'linearize' (py-bindings).
Diffstat (limited to 'contrib/py-bindings/example.rst')
-rw-r--r--contrib/py-bindings/example.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/py-bindings/example.rst b/contrib/py-bindings/example.rst
index 4ee3623fc..4d3c015c0 100644
--- a/contrib/py-bindings/example.rst
+++ b/contrib/py-bindings/example.rst
@@ -46,7 +46,7 @@ Notice that parsing returns a list of gf trees.
Let's save it and linearize it in Spanish:
>>> t = pgf.parse(eng, "is 42 prime")
->>> pgf.lin(spa, t[0])
+>>> pgf.linearize(spa, t[0])
'42 es primo'
(which is not, but there is a '?' lacking at the end, remember?)