Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
ad2889c1
Commit
ad2889c1
authored
May 01, 2016
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs/sys: Clarify description of sys.exit().
parent
8ad1659f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
docs/library/sys.rst
docs/library/sys.rst
+4
-3
No files found.
docs/library/sys.rst
View file @
ad2889c1
...
...
@@ -7,10 +7,11 @@
Functions
---------
.. function:: exit(
[retval]
)
.. function:: exit(
retval=0
)
Raise a ``SystemExit`` exception. If an argument is given, it is the
value given to ``SystemExit``.
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``.
.. function:: print_exception(exc, [file])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment