def create_decimal128_context():
 opts = _CTX_OPTIONS.copy()
 opts['traps'] = []
 return decimal.Context(**opts)

def create_decimal128_context ( ) : opts = _CTX_OPTIONS . copy ( ) opts [ 'traps' ] = [ ] return decimal . Context ( ** opts )
returns an instance of :class:decimal .