You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [1]: import sys
In [2]: sys.exit?
Docstring:
exit([status])
Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is an integer, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).
Type: builtin_function_or_method
Reference
Brief
SystemExit
0
, 可以是整数或者其他object
,shell
相关successful
successful
object
None
=0
other
=1
- stderr printexception SystemExit
sys.exit()
vsos._exit()
vsexit()
vsquit()
without calling cleanup handlers
子进程
中使用site.py
中定义, 不应在产品code
中使用, 一般在交互式 Shell 中退出时使用site module
中定义, 不应在产品code
中使用, 一般在交互式 Shell 中退出时使用site module
The text was updated successfully, but these errors were encountered: