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 @@ -2029,17 +2029,17 @@ Utility functions
20292029 specifying an address, or a ctypes instance.
20302030
20312031
2032- .. function :: POINTER(type)
2032+ .. function :: POINTER(type, / )
20332033
2034- This factory function creates and returns a new ctypes pointer type. Pointer
2035- types are cached and reused internally, so calling this function repeatedly is
2036- cheap. *type * must be a ctypes type.
2034+ Create and return a new ctypes pointer type. Pointer types are cached and
2035+ reused internally, so calling this function repeatedly is cheap.
2036+ *type * must be a ctypes type.
20372037
20382038
2039- .. function :: pointer(obj)
2039+ .. function :: pointer(obj, / )
20402040
2041- This function creates a new pointer instance, pointing to *obj *. The returned
2042- object is of the type ``POINTER(type(obj)) ``.
2041+ Create a new pointer instance, pointing to *obj *.
2042+ The returned object is of the type ``POINTER(type(obj)) ``.
20432043
20442044 Note: If you just want to pass a pointer to an object to a foreign function
20452045 call, you should use ``byref(obj) `` which is much faster.
You can’t perform that action at this time.
0 commit comments