]> granicus.if.org Git - python/commitdiff
Fixed doctest error (wrong prompts)
authorEdward Loper <edloper@gradient.cis.upenn.edu>
Mon, 9 Aug 2004 02:03:30 +0000 (02:03 +0000)
committerEdward Loper <edloper@gradient.cis.upenn.edu>
Mon, 9 Aug 2004 02:03:30 +0000 (02:03 +0000)
Lib/test/test_generators.py

index 0a763675fd5533b177c44aec37aa8333cf5bcca7..f8bee893e4a6743b9aae0bdc483562b385b48ff9 100644 (file)
@@ -267,9 +267,9 @@ Guido's binary tree example.
     ...             yield x
 
     >>> # Show it off: create a tree.
-    ... t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
-    ... # Print the nodes of the tree in in-order.
-    ... for x in t:
+    >>> t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
+    >>> # Print the nodes of the tree in in-order.
+    >>> for x in t:
     ...     print x,
     A B C D E F G H I J K L M N O P Q R S T U V W X Y Z