MINI MINI MANI MO

Path : /usr/lib64/python2.7/site-packages/gi/
File Upload :
Current File : //usr/lib64/python2.7/site-packages/gi/__init__.pyc

ó
§Zc@@sWddlmZddlmZeeeƒZddlZddlZddlZdej	krqe
dƒ‚nddlmZddlm
Z
dd	lmZdd
lmZddlmZddlmZeZeZeZiZejjejjeƒd
ƒZe
jZdjeŒZd„Zd„Zd„Zd„Zdd„Z!dS(i(tabsolute_import(textend_pathNtgobjects¥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".i(t_gi(t_gobject(t_API(t
Repository(tPyGIDeprecationWarning(tPyGIWarningt	overridess{0}.{1}.{2}cC@s_t|tƒr0ttt|jdƒƒƒ}n|}|tkr[td|tfƒ‚ndS(Nt.sNpygobject's version %s required, and available version %s is not recent enough(	t
isinstancetstrttupletmaptinttsplittversion_infot
ValueErrort__version__(tversiontversion_list((s1/usr/lib64/python2.7/site-packages/gi/__init__.pyt
check_version7s!cC@sétjƒ}||jƒkrU|j|ƒ}||krUtd||fƒ‚qUn|tkrŽt||krŽtd|t|fƒ‚n|j|ƒ}|s¶td|ƒ‚n||krÛtd||fƒ‚n|t|<dS(s­ Ensures the correct versions are loaded when importing `gi` modules.

    :param namespace: The name of module to require.
    :type namespace: str
    :param version: The version of module to require.
    :type version: str
    :raises ValueError: If module/version is already loaded, already required, or unavailable.

    :Example:

    .. code-block:: python

        import gi
        gi.require_version('Gtk', '3.0')

    s.Namespace %s is already loaded with version %ss(Namespace %s already requires version %ssNamespace %s not availables)Namespace %s not available for version %sN(Rtget_defaulttget_loaded_namespacestget_versionRt	_versionstenumerate_versions(t	namespaceRt
repositorytloaded_versiontavailable_versions((s1/usr/lib64/python2.7/site-packages/gi/__init__.pytrequire_versionDs cC@s.x'|jƒD]\}}t||ƒq
WdS(s3 Utility function for consolidating multiple `gi.require_version()` calls.

    :param requires: The names and versions of modules to require.
    :type requires: dict

    :Example:

    .. code-block:: python

        import gi
        gi.require_versions({'Gtk': '3.0', 'GLib': '2.0', 'Gio': '2.0'})
    N(titemsR (trequirestmodule_nametmodule_version((s1/usr/lib64/python2.7/site-packages/gi/__init__.pytrequire_versionsls
cC@stj|dƒS(N(RtgettNone(R((s1/usr/lib64/python2.7/site-packages/gi/__init__.pytget_required_version}scC@sPytj||ƒWn%tk
r;}tt|ƒƒ‚nXtjd|ƒdS(s©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')

    s
gi.repositoryN(Rtrequire_foreignt	ExceptiontImportErrorRt	importlibt
import_module(Rtsymbolte((s1/usr/lib64/python2.7/site-packages/gi/__init__.pyR)s
("t
__future__RtpkgutilRt__path__t__name__tsystosR,tmodulesR+tRRRRRRRtpathtjointdirnamet__file__t
_overridesdirtpygobject_versionRtformatRRR R%R(R'R)(((s1/usr/lib64/python2.7/site-packages/gi/__init__.pyt<module>s2!
	
	(		

OHA YOOOO