mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			178 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			178 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
 | 
						|
 | 
						|
import bsddb
 | 
						|
 | 
						|
error = bsddb.error
 | 
						|
 | 
						|
def open(file, flag, mode=0666):
 | 
						|
    return bsddb.hashopen(file, flag, mode)
 |