Public Member Functions | Private Attributes | List of all members
google.protobuf.descriptor._Lock Class Reference
Inheritance diagram for google.protobuf.descriptor._Lock:
Inheritance graph
[legend]

Public Member Functions

def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, exc_tb)
 
def __new__ (cls)
 

Private Attributes

 _lock
 

Detailed Description

Wrapper class of threading.Lock(), which is allowed by 'with'.

Definition at line 76 of file descriptor.py.

Member Function Documentation

◆ __enter__()

def google.protobuf.descriptor._Lock.__enter__ (   self)

Definition at line 84 of file descriptor.py.

◆ __exit__()

def google.protobuf.descriptor._Lock.__exit__ (   self,
  exc_type,
  exc_value,
  exc_tb 
)

Definition at line 87 of file descriptor.py.

◆ __new__()

def google.protobuf.descriptor._Lock.__new__ (   cls)

Definition at line 79 of file descriptor.py.

Member Data Documentation

◆ _lock

google.protobuf.descriptor._Lock._lock
private

Definition at line 81 of file descriptor.py.


The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09