From 996a3ff6a895fec14a60d67144b706df5d5f4668 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 18 Jun 2007 18:53:07 +0000 Subject: [PATCH] docstring fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_colour.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/src/_colour.i b/wxPython/src/_colour.i index 23ddd08c3c..c560386597 100644 --- a/wxPython/src/_colour.i +++ b/wxPython/src/_colour.i @@ -165,8 +165,8 @@ is returned if the pixel is invalid (on X, unallocated).", ""); %extend { KeepGIL(Get); DocAStr(Get, - "Get() -> (r, g, b)", - "Returns the RGB intensity values as a tuple.", ""); + "Get(self, bool includeAlpha=False) -> (r,g,b) or (r,g,b,a)", + "Returns the RGB intensity values as a tuple, optionally the alpha value as well.", ""); PyObject* Get(bool includeAlpha=false) { PyObject* rv = PyTuple_New(includeAlpha ? 4 : 3); int red = -1;