From f28fa57348acda28dcdf4ba73f25d76d66b70483 Mon Sep 17 00:00:00 2001 From: Werner F Bruhin Date: Tue, 10 Feb 2015 14:49:47 +0100 Subject: [PATCH] - clean up doc strings --- wx/lib/art/__init__.py | 5 ++++- wx/lib/art/img2pyartprov.py | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wx/lib/art/__init__.py b/wx/lib/art/__init__.py index d310fdde..1d0b4fe6 100644 --- a/wx/lib/art/__init__.py +++ b/wx/lib/art/__init__.py @@ -1 +1,4 @@ -# package \ No newline at end of file +""" +Currently provides some flag icons based on: +http://www.famfamfam.com/lab/icons/flags +""" diff --git a/wx/lib/art/img2pyartprov.py b/wx/lib/art/img2pyartprov.py index a22a33ea..35f14048 100644 --- a/wx/lib/art/img2pyartprov.py +++ b/wx/lib/art/img2pyartprov.py @@ -7,15 +7,15 @@ # Copyright: (c) 2006 # Licence: wxPython #----------------------------------------------------------------------------- -""" ArtProvider class that publishes images from modules generated by img2py. +"""ArtProvider class that publishes images from modules generated by img2py. Image modules must be generated with the -u and -n parameters. -Typical usage: +Typical usage:: >>> import wx, wx.lib.art.img2pyartprov, myimagemodule >>> wx.ArtProvider.PushProvider(wx.lib.art.img2pyartprov.Img2PyArtProvider(myimagemodule)) -If myimagemodule.catalog['MYIMAGE'] is defined, it can be accessed as: +If myimagemodule.catalog['MYIMAGE'] is defined, it can be accessed as:: >>> wx.ArtProvider.GetBitmap('wxART_MYIMAGE') """