[Python-checkins] python/nondist/peps pep-0323.txt,1.2,1.3

aleax at users.sourceforge.net aleax at users.sourceforge.net
Fri Jan 2 04:15:59 EST 2004


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

Modified Files:
	pep-0323.txt 
Log Message:
fixed 2 typos in example code kindly pointed out by Tom Jenkins.


Index: pep-0323.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0323.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pep-0323.txt	29 Oct 2003 13:39:51 -0000	1.2
--- pep-0323.txt	2 Jan 2004 09:15:55 -0000	1.3
***************
*** 144,148 ****
  
              def __copy__(self):
!                 result = self.__class__(sequence)
                  result.index = self.index
                  return result
--- 144,148 ----
  
              def __copy__(self):
!                 result = self.__class__(self.sequence)
                  result.index = self.index
                  return result
***************
*** 331,335 ****
  
              def __copy__(self):
!                 result = self.__class__.new()
                  result.it = self.it.__copy__()
                  result.i = self.i
--- 331,335 ----
  
              def __copy__(self):
!                 result = self.__class__.__new__()
                  result.it = self.it.__copy__()
                  result.i = self.i





More information about the Python-checkins mailing list