diff options
author | Simon McVittie <smcv@collabora.com> | 2017-11-05 13:02:21 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2017-11-05 13:02:21 +0000 |
commit | 8d695a84248ab70f576719141dffeeb9e8023e4d (patch) | |
tree | ccad38bcbb250a30297e824ce7d6551cb805c857 /dbus | |
parent | bde52a1943907dd87662c1eed1c27414670d7d17 (diff) |
Suppress documentation of __gtype__ in epydoc, for reproducible builds
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/gi_service.py | 6 | ||||
-rw-r--r-- | dbus/gobject_service.py | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/dbus/gi_service.py b/dbus/gi_service.py index 2703289..c182d0a 100644 --- a/dbus/gi_service.py +++ b/dbus/gi_service.py @@ -73,7 +73,11 @@ def ExportedGObject__init__(self, conn=None, object_path=None, **kwargs): object_path=object_path, bus_name=bus_name) -ExportedGObject__doc__ = 'A GObject which is exported on the D-Bus.' +ExportedGObject__doc__ = ''' +A GObject which is exported on the D-Bus. + +:undocumented: __gtype__ +''' ExportedGObject = ExportedGObjectType( 'ExportedGObject', diff --git a/dbus/gobject_service.py b/dbus/gobject_service.py index ef16009..3d096c4 100644 --- a/dbus/gobject_service.py +++ b/dbus/gobject_service.py @@ -55,6 +55,8 @@ class ExportedGObject(gobject.GObject, dbus.service.Object): the naive approach using simple multiple inheritance won't work. This class has `ExportedGObjectType` as its metaclass, which is sufficient to make it work correctly. + + :undocumented: __gtype__ """ __metaclass__ = ExportedGObjectType |