Permalink
Browse files

keeping things as little as possible

  • Loading branch information...
1 parent 6b53f7d commit 87fb89af4a05e082287d7942f82d88d690913d4e @nagaozen committed Feb 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 autocomplete/utils.py
@@ -27,7 +27,7 @@ def get_word(piter):
a.backward_char()
ch = a.get_char()
- if not (ch.isalnum() or ch == '_' or ch == ':' or ch == '.' or ch == '-' or ch == '>'):
+ if not (ch.isalnum() or ch in ['_', ':', '.', '-', '>']):
a.forward_char()
break

0 comments on commit 87fb89a

Please sign in to comment.