mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Normalize whitespace
This commit is contained in:
parent
9e080e0e74
commit
8bd092b501
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue