Fix a code example by adding a missing import.

Fixes #1557890.

Will backport to release25-maint.
This commit is contained in:
Thomas Heller 2006-11-02 20:22:29 +00:00
parent b11472358f
commit be1bc3b63a
1 changed files with 1 additions and 1 deletions

View File

@ -1848,7 +1848,7 @@ GetWindowRect(
Here is the wrapping with \code{ctypes}:
\begin{quote}
\begin{verbatim}>>> from ctypes import POINTER, WINFUNCTYPE, windll
\begin{verbatim}>>> from ctypes import POINTER, WINFUNCTYPE, windll, WinError
>>> from ctypes.wintypes import BOOL, HWND, RECT
>>> prototype = WINFUNCTYPE(BOOL, HWND, POINTER(RECT))
>>> paramflags = (1, "hwnd"), (2, "lprect")