]> gitweb.factorcode.org Git - factor.git/commitdiff
python: Call py-initialize in example, just in case it hasn't been called. Otherwise...
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 4 Jul 2014 08:56:03 +0000 (01:56 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 4 Jul 2014 08:56:03 +0000 (01:56 -0700)
extra/python/python-docs.factor

index a32bbe50431342bfc73d808a955eddd6d68704fb..0da1d312f99845b98f0f5d54e366e4795a03df3c 100644 (file)
@@ -13,7 +13,7 @@ HELP: >py
 { $examples
   { $example
     "USING: arrays prettyprint python sequences ;"
-    "10 iota >array >py py> ."
+    "py-initialize 10 iota >array >py py> ."
     "{ 0 1 2 3 4 5 6 7 8 9 }"
   }
 }