mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-18 09:05:07 +08:00
sys.tracebacklimit can be set to None (#13173)
This commit is contained in:
@@ -159,12 +159,12 @@ wave.Wave_write.initfp
|
||||
|
||||
# sys attributes that are not always defined
|
||||
sys.gettotalrefcount # Available on python debug builds
|
||||
sys.last_traceback
|
||||
sys.last_type
|
||||
sys.last_value
|
||||
sys.ps1
|
||||
sys.ps2
|
||||
sys.tracebacklimit
|
||||
sys.last_traceback # Available after an unhandled error has occured
|
||||
sys.last_type # Available after an unhandled error has occured
|
||||
sys.last_value # Available after an unhandled error has occured
|
||||
sys.ps1 # Available in interactive mode
|
||||
sys.ps2 # Available in interactive mode
|
||||
sys.tracebacklimit # Must be set first
|
||||
|
||||
|
||||
# ==========
|
||||
|
||||
@@ -73,7 +73,7 @@ if sys.version_info >= (3, 10):
|
||||
__stdin__: Final[TextIOWrapper | None] # Contains the original value of stdin
|
||||
__stdout__: Final[TextIOWrapper | None] # Contains the original value of stdout
|
||||
__stderr__: Final[TextIOWrapper | None] # Contains the original value of stderr
|
||||
tracebacklimit: int
|
||||
tracebacklimit: int | None
|
||||
version: str
|
||||
api_version: int
|
||||
warnoptions: Any
|
||||
|
||||
Reference in New Issue
Block a user