From: Edward Loper Date: Mon, 9 Aug 2004 02:03:30 +0000 (+0000) Subject: Fixed doctest error (wrong prompts) X-Git-Tag: v2.4a3~318 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=103d26e851e781c17c03b711b39ab03f683346a9;p=python Fixed doctest error (wrong prompts) --- diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index 0a763675fd..f8bee893e4 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -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