STEMBoT 2 User’s Manual
========================================================================
foo()
At the regular REPL if you tried to paste that in you'd see something like this:
>>> def foo():
... print('This is a test to show paste mode')
... print('Here is a second line')
... foo()
...
Traceback (most recent call last):
File "<stdin>", line 3
IndentationError: unexpected indent
Whereas with paste mode you'd see:
paste mode; CTRL-C to cancel, CTRL-D to finish
=== def foo():
=== print('This is a test to show paste mode')
=== print('Here is a second line')
=== foo()
===
This is a test to show paste mode
Here is a second line
>>>
========================================================================
Revision 1.1.0 : January 2021
Содержание STEMBoT 2
Страница 1: ...User s Manual Rev 1 1 0 ...