File: //snap/core22/current/usr/lib/python3/dist-packages/dbus/__pycache__/glib.cpython-310.pyc
o
�t3bR � @ sH d Z dZddlmZmZ ddlmZ eZedd� ee d�e 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)
�restructuredtext� )�
DBusGMainLoop�threads_init)�warnT)�set_as_defaultz�Importing 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__�
__docformat__�dbus.mainloop.glibr r �warningsr �_warn�init_threads�DeprecationWarning� r r �+/usr/lib/python3/dist-packages/dbus/glib.py�<module> s
�