File manager - Edit - /usr/local/CyberCP/lib/python3.10/site-packages/google/protobuf/__pycache__/descriptor.cpython-310.pyc
Back
o �h� � @ s� d Z dZddlZddlZddlZddlZddlZddlmZ dZ e� � dkr5ejZedu r3ddl mZ dZ G d d � d e�ZG dd� de�Ze rPG d d� de�ZnejZG dd� de�Ze�� Zdd� ZdZdZdZdZdZde_e� ZG dd� ded�Z G dd� de �Z!G dd� de!�Z"G dd� de �Z#G d d!� d!e!�Z$G d"d#� d#e �Z%G d$d%� d%e �Z&G d&d'� d'e!�Z'G d(d)� d)e �Z(G d*d+� d+e �Z)d,d-� Z*d.d/� Z+d0d1� Z,d2d3� Z- 4 d7d5d6�Z.dS )8z�Descriptors essentially contain exactly the information found in a .proto file, in types that make this information accessible in Python. z#robinson@google.com (Will Robinson)� N)�api_implementationF�python)�_messageTc @ � e Zd ZdZdS )�ErrorzBase error for this module.N��__name__� __module__�__qualname__�__doc__� r r �M/usr/local/CyberCP/lib/python3.10/site-packages/google/protobuf/descriptor.pyr � r c @ r )�TypeTransformationErrorzHError transforming between python proto type and corresponding C++ type.Nr r r r r r $ r r c s e Zd Z� fdd�Z� ZS )�DescriptorMetaclassc s( t t| ��|�r dS t|| j�rdS dS )NTF)�superr �__instancecheck__� isinstance�_C_DESCRIPTOR_CLASS)�cls�obj�� __class__r r r / s z%DescriptorMetaclass.__instancecheck__)r r r r � __classcell__r r r r r - s r c @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_Lockz>Wrapper class of threading.Lock(), which is allowed by 'with'.c C s t �| �}t�� |_|S �N)�object�__new__� threading�Lock�_lock)r �selfr r r r = s z _Lock.__new__c C � | j �� d S r )r �acquire�r! r r r � __enter__B � z_Lock.__enter__c C r"