sys: add last_exc on Python>=3.12 (#11378)

https://docs.python.org/3/library/sys.html#sys.last_exc
This commit is contained in:
Ran Benita
2024-02-07 22:37:48 +02:00
committed by GitHub
parent edf41ae5e2
commit a4f81a67a0
2 changed files with 5 additions and 0 deletions

View File

@@ -76,6 +76,9 @@ types.GenericAlias.__mro_entries__
sys._monitoring # Doesn't really exist. See comments in the stub.
weakref.ProxyType.__reversed__ # Doesn't really exist
# sys attributes that are not always defined
sys.last_exc
# C signature is broader than what is actually accepted
ast.ExtSlice.__new__
ast.Index.__new__