소스 검색

Corrected typo from previous commit.

Taddeus Kroes 14 년 전
부모
커밋
755c9b509b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      line.py

+ 1 - 1
line.py

@@ -170,7 +170,7 @@ def generate_line(root):
             r = e[1][0]
             left_simple = is_id(left) or is_int(left)
 
-            if (r in ('(', ']') and left_simple) or (l == ')' and r != '-') \
+            if (r in ('(', '[') and left_simple) or (l == ')' and r != '-') \
                     or (left_simple and r.isalpha()):
                 sep = ''