File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ In the default namespace you have access to various callables:
779
779
``enumerate(seq, [start]) `` Return iterator of index, item tuple pairs. Index begins at ``start `` or ``0 `` (default)
780
780
``eval(source, globals=None, locals=None) `` Run ``source `` (expression string or result of ``compile ``) with globals and locals
781
781
``exec(source, globals=None, locals=None) `` Run ``source `` (statement string or result of ``compile ``) with globals and locals
782
- ``exit(code) `` Exit Python interpreter and return code
782
+ ``exit([ code] ) `` Exit Python interpreter and return code (default 0)
783
783
``filter([function], seq) `` Return iterator of items where ``function(item) `` is truthy (or ``item `` is truthy if ``function `` is missing)
784
784
``float(x) `` Convert string or number to float (call ``x.__float__() ``)
785
785
``format(obj, fmt) `` Format protocol (call ``obj.__format__(fmt) ``)
You can’t perform that action at this time.
0 commit comments