File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ddtrace/profiling/collector Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,8 +317,8 @@ def __getattr__(self, name: str) -> Any:
317317 def __mro_entries__ (self , bases : Tuple [Any , ...]) -> Tuple [Type [Any ], ...]:
318318 """Support subclassing the wrapped lock type (PEP 560).
319319
320- When custom lock types inherit from a wrapped lock
321- (e.g. neo4j's AsyncRLock that inherits from asyncio.Lock), program error with:
320+ Without this, when custom lock types inherit from a wrapped lock
321+ (e.g. neo4j's AsyncRLock that inherits from asyncio.Lock), the program would error with:
322322 > TypeError: _LockAllocatorWrapper.__init__() takes 2 positional arguments but 4 were given
323323
324324 This method returns the actual object type to be used as the base class.
You can’t perform that action at this time.
0 commit comments