Fixed doctest error (wrong prompts)

This commit is contained in:
Edward Loper 2004-08-09 02:03:30 +00:00
parent 651dd52b3a
commit 103d26e851

View file

@ -267,9 +267,9 @@ Guido's binary tree example.
... yield x ... yield x
>>> # Show it off: create a tree. >>> # Show it off: create a tree.
... t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ") >>> t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
... # Print the nodes of the tree in in-order. >>> # Print the nodes of the tree in in-order.
... for x in t: >>> for x in t:
... print x, ... 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 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