Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14644/win32/src
Modified Files:
win32consolemodule.cpp
Log Message:
autoduck: clarify return value for win32console.GetConsoleWindow()
Index: win32consolemodule.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32consolemodule.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** win32consolemodule.cpp 12 Aug 2007 08:31:41 -0000 1.12
--- win32consolemodule.cpp 25 Jul 2008 01:18:10 -0000 1.13
***************
*** 1893,1896 ****
--- 1893,1899 ----
// @pymethod int|win32console|GetConsoleWindow|Returns a handle to the console's window, or 0 if none exists
+ // @rdesc This function may raise NotImplementedError if it does not exist on
+ // the platform, or a <o PyHANDLE> object with a value of 0. It will never
+ // raise a win32 exception.
static PyObject *PyGetConsoleWindow(PyObject *self, PyObject *args)
{
|