def Value(typecode_or_type, *args, **kwds):
 lock = kwds.pop('lock', None)
 if kwds:
  raise ValueError(('unrecognized keyword argument(s): %s' % kwds.keys()))
 obj = RawValue(typecode_or_type, *args)
 if (lock is None):
  lock = RLock()
 assert hasattr(lock, 'acquire')
 return synchronized(obj, lock)

def Value ( typecode_or_type , * args , ** kwds ) : lock = kwds . pop ( 'lock' , None ) if kwds : raise ValueError ( ( 'unrecognized keyword argument(s): %s' % kwds . keys ( ) ) ) obj = RawValue ( typecode_or_type , * args ) if ( lock is None ) : lock = RLock ( ) assert hasattr ( lock , 'acquire' ) return synchronized ( obj , lock )
return a synchronization wrapper for a value .