[Python-checkins] CVS: python/dist/src/Lib types.py,1.14,1.14.10.1

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 04 May 2001 09:51:42 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28240

Modified Files:
      Tag: descr-branch
	types.py 
Log Message:
Add namew for new types: DictIterType, SequenceIterType,
FunctionIterType, DictProxyType.


Index: types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/types.py,v
retrieving revision 1.14
retrieving revision 1.14.10.1
diff -C2 -r1.14 -r1.14.10.1
*** types.py	2000/03/10 23:18:11	1.14
--- types.py	2001/05/04 16:51:40	1.14.10.1
***************
*** 66,68 ****
--- 66,73 ----
  EllipsisType = type(Ellipsis)
  
+ DictIterType = type(iter({}))
+ SequenceIterType = type(iter([]))
+ FunctionIterType = type(iter(lambda: 0, 0))
+ DictProxyType = type(TypeType.__dict__)
+ 
  del sys, _f, _C, _x                     # Not for export