[Python-checkins] python/nondist/peps pep-0322.txt,1.15,1.16

gvanrossum at users.sourceforge.net gvanrossum at users.sourceforge.net
Thu Nov 6 00:32:16 EST 2003


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

Modified Files:
	pep-0322.txt 
Log Message:
Remove vestigial reference to __reversed__.


Index: pep-0322.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0322.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** pep-0322.txt	6 Nov 2003 03:27:22 -0000	1.15
--- pep-0322.txt	6 Nov 2003 05:32:14 -0000	1.16
***************
*** 68,74 ****
  
      def reversed(x):
-         if hasattr(x, 'reversed'):
-             for elem x.__reversed__():
- 		yield x
          if hasattr(x, 'keys'):
              raise ValueError("mappings do not support reverse iteration")
--- 68,71 ----





More information about the Python-checkins mailing list