mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
GitBook: [master] 105 pages and 326 assets modified
This commit is contained in:
committed by
gitbook-bot
parent
7f83446ce9
commit
764a0073d6
@@ -2,11 +2,11 @@
|
||||
|
||||
## 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