@@ -2851,29 +2851,29 @@ where various combinations of ``(start, stop, step)`` are supplied.
28512851.. Revision 57769
28522852
28532853 All :mod: `ctypes ` data types now support
2854- :meth: `from_buffer ` and :meth: `from_buffer_copy `
2854+ :meth: `~ctypes._CData. from_buffer ` and :meth: `~ctypes._CData. from_buffer_copy `
28552855methods that create a ctypes instance based on a
2856- provided buffer object. :meth: `from_buffer_copy ` copies
2856+ provided buffer object. :meth: `! from_buffer_copy ` copies
28572857the contents of the object,
2858- while :meth: `from_buffer ` will share the same memory area.
2858+ while :meth: `! from_buffer ` will share the same memory area.
28592859
28602860A new calling convention tells :mod: `ctypes ` to clear the ``errno `` or
28612861Win32 LastError variables at the outset of each wrapped call.
28622862(Implemented by Thomas Heller; :issue: `1798 `.)
28632863
28642864You can now retrieve the Unix ``errno `` variable after a function
28652865call. When creating a wrapped function, you can supply
2866- ``use_errno=True `` as a keyword argument to the :func: `DLL ` function
2867- and then call the module-level methods :meth: ` set_errno ` and
2868- :meth: ` get_errno ` to set and retrieve the error value.
2866+ ``use_errno=True `` as a keyword argument to the :func: `~ctypes. DLL ` function
2867+ and then call the module-level methods :func: ` ~ctypes. set_errno ` and
2868+ :func: ` ~ctypes. get_errno ` to set and retrieve the error value.
28692869
28702870The Win32 LastError variable is similarly supported by
2871- the :func: `DLL `, :func: `OleDLL `, and :func: `WinDLL ` functions.
2871+ the :func: `~ctypes. DLL `, :func: `~ctypes. OleDLL `, and :func: `~ctypes. WinDLL ` functions.
28722872You supply ``use_last_error=True `` as a keyword argument
2873- and then call the module-level methods :meth: ` set_last_error `
2874- and :meth: ` get_last_error `.
2873+ and then call the module-level methods :func: ` ~ctypes. set_last_error `
2874+ and :func: ` ~ctypes. get_last_error `.
28752875
2876- The :func: `byref ` function, used to retrieve a pointer to a ctypes
2876+ The :func: `~ctypes. byref ` function, used to retrieve a pointer to a ctypes
28772877instance, now has an optional *offset * argument that is a byte
28782878count that will be added to the returned pointer.
28792879
0 commit comments