aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-04-08 12:16:16 -0700
committerBrett Cannon <brett@python.org>2016-04-08 12:16:16 -0700
commit8bd092b50115560a777ad4f9fc656e5ef8c8c89e (patch)
tree80236742c4cb46cc9e5feb62b18338705ca17339 /Lib/contextlib.py
parentIssue #25609: Introduce contextlib.AbstractContextManager and (diff)
downloadcpython-8bd092b50115560a777ad4f9fc656e5ef8c8c89e.tar.gz
cpython-8bd092b50115560a777ad4f9fc656e5ef8c8c89e.tar.bz2
cpython-8bd092b50115560a777ad4f9fc656e5ef8c8c89e.zip
Normalize whitespace
Diffstat (limited to 'Lib/contextlib.py')
-rw-r--r--Lib/contextlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index 98903bcb7d9..6cf112af0d3 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -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