File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
@tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ wave.Wave_write.initfp
159159
160160# sys attributes that are not always defined
161161sys.gettotalrefcount # Available on python debug builds
162- sys.last_traceback
163- sys.last_type
164- sys.last_value
165- sys.ps1
166- sys.ps2
167- sys.tracebacklimit
162+ sys.last_traceback # Available after an unhandled error has occured
163+ sys.last_type # Available after an unhandled error has occured
164+ sys.last_value # Available after an unhandled error has occured
165+ sys.ps1 # Available in interactive mode
166+ sys.ps2 # Available in interactive mode
167+ sys.tracebacklimit # Must be set first
168168
169169
170170# ==========
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ if sys.version_info >= (3, 10):
7373__stdin__ : Final [TextIOWrapper | None ] # Contains the original value of stdin
7474__stdout__ : Final [TextIOWrapper | None ] # Contains the original value of stdout
7575__stderr__ : Final [TextIOWrapper | None ] # Contains the original value of stderr
76- tracebacklimit : int
76+ tracebacklimit : int | None
7777version : str
7878api_version : int
7979warnoptions : Any
You can’t perform that action at this time.
0 commit comments