|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/site-packages/google/protobuf/__pycache__/ |
U
N��g� � @ s� d Z dZddlZddlZddlZddlZddlZddlmZ dZ e�
� dkrjejZedkrfddl
mZ dZ G d d
� d
e�ZG dd� de�Ze r�G 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-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 @ s e Zd ZdZdS )�ErrorzBase error for this module.N��__name__�
__module__�__qualname__�__doc__� r r �G/opt/cppython/lib/python3.8/site-packages/google/protobuf/descriptor.pyr s r c @ s e Zd ZdZdS )�TypeTransformationErrorzHError transforming between python proto type and corresponding C++ type.Nr r r r r r
$ s r
c s e Zd Z� fdd�Z� ZS )�DescriptorMetaclassc s( t t| ��|�rdS t|| j�r$dS 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 s | j �� d S r )r �acquire�r r r r � __enter__B s z_Lock.__enter__c C s | j �� d S r )r �release)r �exc_type� exc_value�exc_tbr r r �__exit__E s z_Lock.__exit__N)r r r r
r r"