Commits

Martin von Löwis  committed 757e17e

Use str.lower instead of string.lower, since string.lower is gone in 3.x.

  • Participants
  • Parent commits a3bc4fb

Comments (0)

Files changed (1)

File creoleparser/dialects.py

     """Base class for argument string dialect objects."""
     pass
 
-parse_args = ArgParser(dialect=creepy10_base(),key_func=string.lower,
+parse_args = ArgParser(dialect=creepy10_base(),key_func=str.lower,
                        illegal_keys=keyword.kwlist + ['macro_name',
                          'arg_string', 'body', 'isblock', 'environ', 'macro'])
 """Function for parsing macro arg_strings using a relaxed xml style"""