Kaydet (Commit) d674e17e authored tarafından Tim Peters's avatar Tim Peters

SF patch 499062: Minor typo in test_generators.py.

There's no actual patch there.  It's an objection that Guido's example
doesn't actually generator "leaves", so change the comment that says
it does.
üst 7d1cd694
......@@ -259,7 +259,7 @@ Guido's binary tree example.
>>> # Show it off: create a tree.
>>> t = tree("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
>>> # A recursive generator that generates Tree leaves in in-order.
>>> # A recursive generator that generates Tree labels in in-order.
>>> def inorder(t):
... if t:
... for x in inorder(t.left):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment