mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
GitBook: [master] 45 pages modified
This commit is contained in:
committed by
gitbook-bot
parent
f893111ff5
commit
35e1c304f6
@@ -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