a
z]R @ sH d Z dZddlmZmZ ddlmZ eZedd ee de dd d
S )a Deprecated module which sets the default GLib main context as the mainloop
implementation within D-Bus, as a side-effect of being imported!
This API is highly non-obvious, so instead of importing this module,
new programs which don't need pre-0.80 compatibility should use this
equivalent code::
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
Zrestructuredtext )
DBusGMainLoopthreads_init)warnT)Zset_as_defaultzImporting dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
)
stacklevelN)
__doc__Z
__docformat__Zdbus.mainloop.glibr r warningsr Z_warnZinit_threadsDeprecationWarning r
r
//usr/lib64/python3.9/site-packages/dbus/glib.py