mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fixed doctest error (wrong prompts)
This commit is contained in:
parent
651dd52b3a
commit
103d26e851
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue