[Python-checkins] python/nondist/peps pep-0289.txt,1.8,1.9

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Thu Oct 23 13:02:13 EDT 2003


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv1551

Modified Files:
	pep-0289.txt 
Log Message:
Fix typo

Index: pep-0289.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0289.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** pep-0289.txt	23 Oct 2003 16:17:29 -0000	1.8
--- pep-0289.txt	23 Oct 2003 17:02:11 -0000	1.9
***************
*** 42,46 ****
  
      s = Set(word  for line in page  for word in line.split())
!     d = dict( (k, func(v)) for k in keylist)
  
  Generator expressions are especially useful with functions like sum(),
--- 42,46 ----
  
      s = Set(word  for line in page  for word in line.split())
!     d = dict( (k, func(k)) for k in keylist)
  
  Generator expressions are especially useful with functions like sum(),





More information about the Python-checkins mailing list