Skip to content

Commit

Permalink
emulating string.letters for py3
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshu committed Jan 1, 2013
1 parent fb216dc commit f910c1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sympy/core/symbol.py
Expand Up @@ -391,7 +391,8 @@ def symbols(names, **args):

if match is not None:
name, start, end, suffix = match.groups()
letters = list(string.letters)
letters = list(string.ascii_lowercase + string.ascii_uppercase
+ string.digits)
start = letters.index(start)
end = letters.index(end)

Expand Down

0 comments on commit f910c1f

Please sign in to comment.