diff options
author | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-09 02:03:30 (GMT) |
---|---|---|
committer | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-09 02:03:30 (GMT) |
commit | 103d26e851e781c17c03b711b39ab03f683346a9 (patch) | |
tree | fdb2b9fb0ade9d7f769b05573a5d090b5cea8ac9 | |
parent | 651dd52b3ac247fe4a4f18231593a2da96ce8a68 (diff) | |
download | cpython-103d26e851e781c17c03b711b39ab03f683346a9.zip cpython-103d26e851e781c17c03b711b39ab03f683346a9.tar.gz cpython-103d26e851e781c17c03b711b39ab03f683346a9.tar.bz2 |
Fixed doctest error (wrong prompts)
-rw-r--r-- | Lib/test/test_generators.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index 0a76367..f8bee89 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 |