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 __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, exc_tb)
 
def __exit__ (self, exc_type, exc_value, exc_tb)
 
def __new__ (cls)
 
def __new__ (cls)
 

Private Attributes

 _lock
 

Detailed Description

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

Definition at line 76 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.

Member Function Documentation

◆ __enter__() [1/2]

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

◆ __enter__() [2/2]

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

◆ __exit__() [1/2]

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

◆ __exit__() [2/2]

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

◆ __new__() [1/2]

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

◆ __new__() [2/2]

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

Member Data Documentation

◆ _lock

google.protobuf.descriptor._Lock._lock
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:23