docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user