summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDoc/lib/libctypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libctypes.tex b/Doc/lib/libctypes.tex
index 2bae25b..8474a44 100755
--- a/Doc/lib/libctypes.tex
+++ b/Doc/lib/libctypes.tex
@@ -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")