← Back
Editing: types.cpython-312.opt-1.pyc
� b�^�4 � � � d dl Z ddlmZ ddlmZ ddlmZmZmZm Z m Z mZmZ ddl mZ eef ddl mZ ddl mZ d � Z G d � de� Zd� Zd � Z G d� de� Z ej2 e� G d� dee� Zd� Zd� Z G d� dee� Zy)� N� )�TYPE_INVALID)�generate_doc_string)� InterfaceInfo� ObjectInfo� StructInfo� VFuncInfo�register_interface_info�hook_up_vfunc_implementation� GInterface)�_gi)�_propertyhelper)� _signalhelperc �z � t j dd| � }t j dd|� j � S )Nz(.)([A-Z][a-z]+)z\1_\2z([a-z0-9])([A-Z]))�re�sub�lower)�name�s1s �//usr/lib64/python3.12/site-packages/gi/types.py� snake_caser , s2 � � ���"�H�d� 3�B� �6�6�%�x��4�:�:�<�<� c �0 � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zy)�MetaClassHelperc �p � | j j � D ] }t | |j |� � y �N)�__info__�get_methods�setattr�__name__)�cls�method_infos r �_setup_methodszMetaClassHelper._setup_methods2 s+ � ��<�<�3�3�5�K��C��-�-�{�;� 6r c �� � | j }|j � }|�y |j � D ]1 }|j }t | |� r�t | |t |� � �3 y r )r �get_class_structr r �hasattrr �classmethod)r! �info�class_structr"