GitBook: [master] 44 pages modified

This commit is contained in:
Daniel Spindelbauer
2018-08-20 10:02:34 +00:00
committed by gitbook-bot
parent 31da1d364c
commit 82d7dcf2ff
44 changed files with 321 additions and 303 deletions

View File

@@ -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\).