summaryrefslogtreecommitdiffstatshomepage
path: root/tests/cmdline/repl_cont.py
blob: 06c445d1288bd71a06ec77b4f5e61db9cef046ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# check REPL allows to continue input
1 \
+ 2
'abc'
"abc"
'''abc
def'''
"""ABC
DEF"""
print(
1 + 2)
l = [1,
2]
print(l)
d = {1:'one',
2:'two'}
print(d[2])
def f(x):
print(x)

f(3)