Skip to content

Commit

Permalink
Py3 fix for lambda_notation()
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Aug 20, 2015
1 parent 503dbcc commit e591f63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sympy/parsing/sympy_parser.py
Expand Up @@ -529,6 +529,9 @@ def lambda_notation(tokens, local_dict, global_dict):
"""
result = []
flag = False
if len(tokens) > 1:
if tokens[0][1] == 'utf-8' and tokens[1] == (NAME, 'lambda'):
tokens = tokens[1:]
toknum, tokval = tokens[0]
tokLen = len(tokens)
if toknum == NAME and tokval == 'lambda':
Expand Down

0 comments on commit e591f63

Please sign in to comment.