diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-22 21:59:56 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-22 21:59:56 +0800 |
| commit | e2da599389bef2878ae83b4b1a318926fe97edf9 (patch) | |
| tree | ff97a695965592fe7ed1bc384e0ddc85412e2911 /ibus/attribute.py | |
| parent | ac95983afa62e6960bdf674bbe9d393e67a6fded (diff) | |
| download | ibus-e2da599389bef2878ae83b4b1a318926fe97edf9.tar.gz ibus-e2da599389bef2878ae83b4b1a318926fe97edf9.tar.xz ibus-e2da599389bef2878ae83b4b1a318926fe97edf9.zip | |
Add __all__ in ibus source files to limit the exported objects.
Diffstat (limited to 'ibus/attribute.py')
| -rw-r--r-- | ibus/attribute.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ibus/attribute.py b/ibus/attribute.py index 2b8ba0c..fad9abe 100644 --- a/ibus/attribute.py +++ b/ibus/attribute.py @@ -19,6 +19,20 @@ # Free Software Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307 USA +__all__ = ( + "ATTR_TYPE_UNDERLINE", + "ATTR_TYPE_FOREGROUND", + "ATTR_TYPE_BACKGROUND", + "Attribute", + "AttributeUnderline", + "AttributeForeground", + "AttributeBackground", + "AttrList", + "attribute_from_dbus_value", + "attr_list_from_dbus_value", + "ARGB", "RGB" + ) + import dbus ATTR_TYPE_UNDERLINE = 1 |
