Commits

Armin Ronacher committed 1ef0023 Draft

Added missing nonlocal keyword

  • Participants
  • Parent commits 1b3c03b

Comments (0)

Files changed (1)

pygments/lexers/agile.py

     tokens = PythonLexer.tokens.copy()
     tokens['keywords'] = [
         (r'(assert|break|continue|del|elif|else|except|'
-         r'finally|for|global|if|lambda|pass|raise|'
+         r'finally|for|global|if|lambda|pass|raise|nonlocal|'
          r'return|try|while|yield|as|with|True|False|None)\b', Keyword),
     ]
     tokens['builtins'] = [