[Python-checkins] python/dist/src/Lib types.py,1.30,1.31

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sun Jul 18 02:08:13 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20425/Lib

Modified Files:
	types.py 
Log Message:
Oops!  Restored the pickle test to test_pyclbr, but changed types.py so
that pyclbr doesn't need to special-case modules that do "from types
import *".


Index: types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/types.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** types.py	10 Feb 2003 19:38:33 -0000	1.30
--- types.py	18 Jul 2004 00:08:11 -0000	1.31
***************
*** 49,56 ****
      pass
  
! def g():
      yield 1
! GeneratorType = type(g())
! del g
  
  class _C:
--- 49,55 ----
      pass
  
! def _g():
      yield 1
! GeneratorType = type(_g())
  
  class _C:
***************
*** 88,90 ****
  NotImplementedType = type(NotImplemented)
  
! del sys, _f, _C, _x                  # Not for export
--- 87,89 ----
  NotImplementedType = type(NotImplemented)
  
! del sys, _f, _g, _C, _x                  # Not for export



More information about the Python-checkins mailing list