3 ��<_n�@s�ddlmZddlmZeee�ZddlZddlZddlZddl Z dZ dej krXe e ��ddl mZddlmZdd lmZdd lmZdd lmZeZeZeZiZejjejje�d �Ze jd �Zeej ej<eje_eje_ejdd�Zdje�ZGdd�de j�Z e de �ej d<e de �ej d<e de �ej d<e de �ej d<e de �ej d<dd�Z!dd�Z"dd�Z#dd�Z$ddd�Z%dS) �)�absolute_import)� extend_pathNz�When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183Zgobject�)�_gi)�_API)� Repository)�PyGIDeprecationWarning)� PyGIWarningZ overridesz gi._gobjectz {0}.{1}.{2}c@seZdZdZdd�ZdS)�_DummyStaticModuleNcCs tt��dS)N)�AttributeError�_static_binding_error)�self�name�r� /usr/lib64/python3.6/__init__.py� __getattr__Dsz_DummyStaticModule.__getattr__)�__name__� __module__� __qualname__�__path__rrrrrr Asr ZglibZgioZgtkzgtk.gdkcCs@t|t�r ttt|jd���}n|}|tkr}ztt|���WYdd}~XnXtjd|�dS)a�Ensure the given foreign marshaling module is available and loaded. :param str namespace: Introspection namespace of the foreign module (e.g. "cairo") :param symbol: Optional symbol typename to ensure a converter exists. :type symbol: str or None :raises: ImportError :Example: .. code-block:: python import gi import cairo gi.require_foreign('cairo') Nz gi.repository)r�require_foreign� Exception� ImportErrorr� importlib� import_module)r%Zsymbol�errrr+�s r+)N)&Z __future__rZpkgutilrrrr#�osr.�typesr �modulesr-�rrrrr r$�path�join�dirname�__file__Z _overridesdir� ModuleTypeZ_gobjectZ_PyGObject_APIZpygobject_versionr�formatrr r!r&r(r*r+rrrr�sH             /