Skip to content

Commit 27fcdf1

Browse files
authored
Python 3 treats mixed tab and spaces indentation as a syntax error
1 parent 0e6628f commit 27fcdf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

数理逻辑/codes/mbinary/system_L.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def l3(self,p,q):
216216
right = contain(p,q)
217217
return contain(left,right)
218218
def genFormula(self,s:str)->formula:
219-
s=s.replace('~~','') # simplify the deduction, to do
220-
s=s.replace('<->','-')
219+
s=s.replace('~~','') # simplify the deduction, to do
220+
s=s.replace('<->','-')
221221
s=s.replace('->','>')
222222
li = re.findall(r'[\(\)\>\~]|\w+',s)
223223
li = [sympy.Symbol(i) for i in li]

0 commit comments

Comments
 (0)