diff docs/rendered/_sources/pymonkey.txt @ 56:72e84bd75905

Made another doctest easier to read.
author Atul Varma <varmaa@toolness.com>
date Fri, 10 Jul 2009 17:39:48 -0700
parents 40a404b9c467
children a2b617731398
line wrap: on
line diff
--- a/docs/rendered/_sources/pymonkey.txt	Fri Jul 10 17:26:32 2009 -0700
+++ b/docs/rendered/_sources/pymonkey.txt	Fri Jul 10 17:39:48 2009 -0700
@@ -24,8 +24,7 @@
    For instance:
 
      >>> cx = pymonkey.Runtime().new_context()
-     >>> obj = cx.new_object()
-     >>> cx.evaluate_script(obj, '', '<string>', 1)
+     >>> cx.evaluate_script(cx.new_object(), '', '<string>', 1)
      <type 'pymonkey.undefined'>
 
    Unfortunately, this object currently does not have a "falsy" value,