@@ -953,7 +953,7 @@ Shared :mod:`ctypes` Objects
953953It is possible to create shared objects using shared memory which can be
954954inherited by child processes.
955955
956- .. function :: Value(typecode_or_type, *args[ , lock] )
956+ .. function :: Value(typecode_or_type, *args, lock=True )
957957
958958 Return a :mod: `ctypes ` object allocated from shared memory. By default the
959959 return value is actually a synchronized wrapper for the object.
@@ -1045,7 +1045,7 @@ processes.
10451045 attributes which allow one to use it to store and retrieve strings -- see
10461046 documentation for :mod: `ctypes `.
10471047
1048- .. function :: Array(typecode_or_type, size_or_initializer, *args[ , lock] )
1048+ .. function :: Array(typecode_or_type, size_or_initializer, *, lock=True )
10491049
10501050 The same as :func: `RawArray ` except that depending on the value of *lock * a
10511051 process-safe synchronization wrapper may be returned instead of a raw ctypes
@@ -1060,7 +1060,7 @@ processes.
10601060
10611061 Note that *lock * is a keyword-only argument.
10621062
1063- .. function :: Value(typecode_or_type, *args[ , lock] )
1063+ .. function :: Value(typecode_or_type, *args, lock=True )
10641064
10651065 The same as :func: `RawValue ` except that depending on the value of *lock * a
10661066 process-safe synchronization wrapper may be returned instead of a raw ctypes
0 commit comments