mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
GitBook: [master] 44 pages modified
This commit is contained in:
committed by
gitbook-bot
parent
31da1d364c
commit
82d7dcf2ff
@@ -1,12 +1,12 @@
|
||||
# sys
|
||||
|
||||
## Functions
|
||||
## Methods
|
||||
|
||||
### sys.exit\(retval=0\)
|
||||
#### sys.exit\(retval=0\)
|
||||
|
||||
Terminate current program with a given exit code. Underlyingly, this function raise as `SystemExit` exception. If an argument is given, its value given as an argument to `SystemExit`.
|
||||
|
||||
### sys.print\_exception\(exc, file=sys.stdout\)
|
||||
#### sys.print\_exception\(exc, file=sys.stdout\)
|
||||
|
||||
Print exception with a traceback to a file-like object file \(or `sys.stdout` by default\).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user