Package google :: Package protobuf :: Module descriptor :: Class _Lock
[hide private]
[frames] | no frames]

Class _Lock

source code

object --+
         |
        _Lock

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

Instance Methods [hide private]
 
__enter__(self) source code
 
__exit__(self, exc_type, exc_value, exc_tb) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)