Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d0669d

Browse files
committed
Add Unix main script and test program.
1 parent 3b4ca0d commit 3d0669d

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Tools/idle/idle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#! /usr/bin/env python
2+
import PyShell
3+
PyShell.main()

Tools/idle/test.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
def f(): a = b = c = d = e = 0; g()
3+
4+
def g(): h()
5+
6+
def h(): i()
7+
8+
def i(): j()
9+
10+
def j(): k()
11+
12+
def k(): l()
13+
14+
l = lambda: test()
15+
16+
def test():
17+
exec "import string; string.capwords(None)" in {}
18+
19+
k()

0 commit comments

Comments
 (0)