HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/dbus/__pycache__/glib.cpython-310.pyc
o

�t3bR�@sHdZdZddlmZmZddlmZeZedd�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)
Zrestructuredtext�)�
DBusGMainLoop�threads_init)�warnT)Zset_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__Z
__docformat__Zdbus.mainloop.glibrr�warningsrZ_warnZinit_threads�DeprecationWarning�r
r
�+/usr/lib/python3/dist-packages/dbus/glib.py�<module>s


�