From 734f3d6057a6c753e9a05f9f5e05c90cf4419215 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 16 Feb 2013 03:24:17 +0000 Subject: [PATCH] Fix typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- etg/image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etg/image.py b/etg/image.py index a41fe74e..b3722b44 100644 --- a/etg/image.py +++ b/etg/image.py @@ -191,7 +191,7 @@ def run(): # GetData() and GetAlpha() return a copy of the image data/alpha bytes as - # a string object. + # a bytearray object. # TODO: in Python 3.x a bytes object should be returned instead. c.find('GetData').ignore() c.addCppMethod('PyObject*', 'GetData', '()', @@ -488,7 +488,7 @@ def run(): body='return Image(width, height, clear)') module.addPyFunction('ImageFromBitmap', '(bitmap)', - deprecated="Use :class:`Image` instead.", + deprecated="Use bitmap.ConvertToImage instead.", doc='Create a :class:`Image` from a :class:`Bitmap`', body='return bitmap.ConvertToImage()')