File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1988,17 +1988,17 @@ Utility functions
19881988 specifying an address, or a ctypes instance.
19891989
19901990
1991- .. function :: POINTER(type)
1991+ .. function :: POINTER(type, / )
19921992
1993- This factory function creates and returns a new ctypes pointer type. Pointer
1994- types are cached and reused internally, so calling this function repeatedly is
1995- cheap. *type * must be a ctypes type.
1993+ Create and return a new ctypes pointer type. Pointer types are cached and
1994+ reused internally, so calling this function repeatedly is cheap.
1995+ *type * must be a ctypes type.
19961996
19971997
1998- .. function :: pointer(obj)
1998+ .. function :: pointer(obj, / )
19991999
2000- This function creates a new pointer instance, pointing to *obj *. The returned
2001- object is of the type ``POINTER(type(obj)) ``.
2000+ Create a new pointer instance, pointing to *obj *.
2001+ The returned object is of the type ``POINTER(type(obj)) ``.
20022002
20032003 Note: If you just want to pass a pointer to an object to a foreign function
20042004 call, you should use ``byref(obj) `` which is much faster.
You can’t perform that action at this time.
0 commit comments