[Python-checkins] CVS: python/dist/src/Lib repr.py,1.13,1.14 types.py,1.23,1.24

Tim Peters tim_one@users.sourceforge.net
2001年10月29日 14:25:46 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28201/python/Lib
Modified Files:
	repr.py types.py 
Log Message:
Rename "dictionary" (type and constructor) to "dict".
Index: repr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/repr.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** repr.py	2001年09月05日 02:27:04	1.13
--- repr.py	2001年10月29日 22:25:44	1.14
***************
*** 49,53 ****
 if n > self.maxlist: s = s + ', ...'
 return '[' + s + ']'
! def repr_dictionary(self, x, level):
 n = len(x)
 if n == 0: return '{}'
--- 49,53 ----
 if n > self.maxlist: s = s + ', ...'
 return '[' + s + ']'
! def repr_dict(self, x, level):
 n = len(x)
 if n == 0: return '{}'
Index: types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/types.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** types.py	2001年09月26日 19:54:08	1.23
--- types.py	2001年10月29日 22:25:44	1.24
***************
*** 35,39 ****
 TupleType = tuple
 ListType = list
! DictType = DictionaryType = dictionary
 
 def _f(): pass
--- 35,39 ----
 TupleType = tuple
 ListType = list
! DictType = DictionaryType = dict
 
 def _f(): pass

AltStyle によって変換されたページ (->オリジナル) /