Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f14175 commit 231998aCopy full SHA for 231998a
1 file changed
CONTRIBUTING.md
@@ -278,7 +278,7 @@ they are not part of the stubbed API.
278
279
When adding type annotations for context manager classes, annotate
280
the return type of `__exit__` as bool only if the context manager
281
-sometimes suppresses annotations -- if it sometimes returns `True`
+sometimes suppresses exceptions -- if it sometimes returns `True`
282
at runtime. If the context manager never suppresses exceptions,
283
have the return type be either `None` or `Optional[bool]`. If you
284
are not sure whether exceptions are suppressed or not or if the
0 commit comments