[Python-checkins] python/dist/src/Lib pickle.py,1.56.4.3,1.56.4.4

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
2002年10月07日 06:18:26 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv19355
Modified Files:
 Tag: release22-maint
	pickle.py 
Log Message:
Darn. Fix stupid typo in whichmodule() backport.
Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.56.4.3
retrieving revision 1.56.4.4
diff -C2 -d -r1.56.4.3 -r1.56.4.4
*** pickle.py	7 Oct 2002 13:09:25 -0000	1.56.4.3
--- pickle.py	7 Oct 2002 13:18:23 -0000	1.56.4.4
***************
*** 563,567 ****
 If the function cannot be found, return __main__.
 """
! if classmap.has_key(classmap):
 return classmap[func]
 
--- 563,567 ----
 If the function cannot be found, return __main__.
 """
! if classmap.has_key(func):
 return classmap[func]
 

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