✏️ 编辑:pygtkcompat.cpython-39.opt-1.pyc
路径:
/usr/lib/python3.9/site-packages/pygtkcompat/__pycache__/pygtkcompat.cpython-39.opt-1.pyc
大小:19.3 KB · 修改:2022-10-23 12:44:00 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a b�^�P c @ s� d Z ddlZddlZddlmZ ddlZddlmZ g Zg Z e � Zi Zdd� Z dd� Zd"d d�Zd#dd �Zdd� Zdd� Zd$dd�Zdd� Zdd� Zd%dd�Zdd� Zdd� Zd d!� ZdS )&a� PyGTK compatibility layer. This modules goes a little bit longer to maintain PyGTK compatibility than the normal overrides system. It is recommended to not depend on this layer, but only use it as an intermediate step when porting your application to PyGI. Compatibility might never be 100%, but the aim is to make it possible to run a well behaved PyGTK application mostly unmodified on top of PyGI. � N��UserList��GObjectc C s, t | |t�}t| ||� t�| ||f� d S �N)�getattr�_unset�setattr�_patches�append)�obj�name� new_value� old_value� r �;/usr/lib/python3.9/site-packages/pygtkcompat/pygtkcompat.py�_patch1 s r c C s* t j�| t�}|t j| <