master: update mypy 0.740 -> 0.761
(cherry picked from commit16ff9f591e) (cherry picked from commit4848bbdf9a)
This commit is contained in:
committed by
Daniel Hahler
parent
90740007a8
commit
090e260517
@@ -479,7 +479,7 @@ class ExceptionInfo(Generic[_E]):
|
||||
assert tup[1] is not None, "no current exception"
|
||||
assert tup[2] is not None, "no current exception"
|
||||
exc_info = (tup[0], tup[1], tup[2])
|
||||
return cls.from_exc_info(exc_info, exprinfo)
|
||||
return ExceptionInfo.from_exc_info(exc_info, exprinfo)
|
||||
|
||||
@classmethod
|
||||
def for_later(cls) -> "ExceptionInfo[_E]":
|
||||
|
||||
Reference in New Issue
Block a user