[Python-checkins] CVS: python/dist/src/Lib dbhash.py,1.5,1.6

Martin v. L?wis loewis@users.sourceforge.net
Mon, 04 Jun 2001 22:33:21 -0700


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

Modified Files:
	dbhash.py 
Log Message:
Fix bug #422702: Make flag argument to open optional, and document it that way.


Index: dbhash.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dbhash.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** dbhash.py	2001/01/25 13:47:00	1.5
--- dbhash.py	2001/06/05 05:33:19	1.6
***************
*** 13,16 ****
  error = bsddb.error                     # Exported for anydbm
  
! def open(file, flag, mode=0666):
      return bsddb.hashopen(file, flag, mode)
--- 13,16 ----
  error = bsddb.error                     # Exported for anydbm
  
! def open(file, flag = 'r', mode=0666):
      return bsddb.hashopen(file, flag, mode)