Skip to content

Commit 1084fac

Browse files
authored
Update tpy.py
1 parent c86a1f6 commit 1084fac

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

true/tpy.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
try: i = open(sys.argv[2]).readlines()
55
except: i=[]
66
except: print(f"Usage: python {__file__.split(chr(0x5c))[-1]} \"(file name)\"");exit()
7-
p = 0; ts = []; s = []; ld = []
7+
p = 0; ts = []; s = []
88
if not code : code = " "
99
while 1:
1010
if code[p] == '"' :
@@ -20,10 +20,7 @@
2020
elif code[p] == "-" : s.pop()
2121
elif code[p] == "`" : s.append(int(s.pop())*-1)
2222
elif code[p] == ":" : s.append(s[-1])
23-
elif code[p] == '(' :
24-
p+=1; ld.append(code[p : code.index(')', p)])
25-
p=code.index(')', p)
2623
elif code[p] == "^" : s.append(s[int(s[-1]-1)])
2724
if code[p] == "\n" : break
2825
if len(code) == p +1 : p = -1
29-
p += 1
26+
p += 1

0 commit comments

Comments
 (0)