mirror of
https://github.com/python/cpython.git
synced 2025-01-23 17:44:35 +08:00
Normalize whitespace
This commit is contained in:
parent
9e080e0e74
commit
8bd092b501
@ -27,7 +27,7 @@ class AbstractContextManager(abc.ABC):
|
||||
if cls is AbstractContextManager:
|
||||
if (any("__enter__" in B.__dict__ for B in C.__mro__) and
|
||||
any("__exit__" in B.__dict__ for B in C.__mro__)):
|
||||
return True
|
||||
return True
|
||||
return NotImplemented
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user