File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -266,11 +266,7 @@ class c_bool(_SimpleCData):
266266 _type_ = "?"
267267
268268def POINTER (cls ):
269- """
270- Create and return a new ctypes pointer type.
271-
272- cls
273- A ctypes type.
269+ """Create and return a new ctypes pointer type.
274270
275271 Pointer types are cached and reused internally,
276272 so calling this function repeatedly is cheap.
@@ -292,8 +288,7 @@ def POINTER(cls):
292288 return type (f'LP_{ cls .__name__ } ' , (_Pointer ,), {'_type_' : cls })
293289
294290def pointer (obj ):
295- """
296- Create a new pointer instance, pointing to 'obj'.
291+ """Create a new pointer instance, pointing to 'obj'.
297292
298293 The returned object is of the type POINTER(type(obj)). Note that if you
299294 just want to pass a pointer to an object to a foreign function call, you
You can’t perform that action at this time.
0 commit comments