]> granicus.if.org Git - python/commitdiff
SF patch 499062: Minor typo in test_generators.py.
authorTim Peters <tim.peters@gmail.com>
Sun, 10 Mar 2002 07:59:13 +0000 (07:59 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 10 Mar 2002 07:59:13 +0000 (07:59 +0000)
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.

Lib/test/test_generators.py

index 2c319e5db982901f4dee8df50a4faa4942af12f1..155a83cb21f202fb355de3156a12fbd5c36f4c6a 100644 (file)
@@ -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):