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             /