[Python-checkins] CVS: python/nondist/peps pep-0255.txt,1.17,1.18
Tim Peters
tim_one@users.sourceforge.net
Sat, 09 Mar 2002 23:59:30 -0800
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv29951
Modified Files:
pep-0255.txt
Log Message:
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.
Index: pep-0255.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0255.txt,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** pep-0255.txt 15 Aug 2001 05:46:40 -0000 1.17
--- pep-0255.txt 10 Mar 2002 07:59:28 -0000 1.18
***************
*** 323,327 ****
return Tree(list[i], tree(list[:i]), tree(list[i+1:]))
! # A recursive generator that generates Tree leaves in in-order.
def inorder(t):
if t:
--- 323,327 ----
return Tree(list[i], tree(list[:i]), tree(list[i+1:]))
! # A recursive generator that generates Tree labels in in-order.
def inorder(t):
if t: