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
2029
2029
specifying an address, or a ctypes instance.
2030
2030
2031
2031
2032
- .. function :: POINTER(type)
2032
+ .. function :: POINTER(type, / )
2033
2033
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.
2037
2037
2038
2038
2039
- .. function :: pointer(obj)
2039
+ .. function :: pointer(obj, / )
2040
2040
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)) ``.
2043
2043
2044
2044
Note: If you just want to pass a pointer to an object to a foreign function
2045
2045
call, you should use ``byref(obj) `` which is much faster.
You can’t perform that action at this time.
0 commit comments