Fix a mistake.

This commit is contained in:
Thomas Heller 2006-08-02 12:00:13 +00:00
parent 6a0ce407fb
commit 5c387f2e5d
1 changed files with 3 additions and 3 deletions

View File

@ -151,9 +151,9 @@ be used as the NULL pointer):
\code{ctypes} tries to protect you from calling functions with the wrong \code{ctypes} tries to protect you from calling functions with the wrong
number of arguments or the wrong calling convention. Unfortunately number of arguments or the wrong calling convention. Unfortunately
this only works on Windows, for \code{stdcall} functions. It does this this only works on Windows. It does this by examining the stack after
by examining the stack after the function returns, so although an the function returns, so although an error is raised the function
error is raised the function \emph{has} been called: \emph{has} been called:
\begin{verbatim} \begin{verbatim}
>>> windll.kernel32.GetModuleHandleA() # doctest: +WINDOWS >>> windll.kernel32.GetModuleHandleA() # doctest: +WINDOWS
Traceback (most recent call last): Traceback (most recent call last):