aboutsummaryrefslogtreecommitdiff
path: root/grammars/python.bp
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/python.bp')
-rw-r--r--grammars/python.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/python.bp b/grammars/python.bp
index daab6a5..37d6a88 100644
--- a/grammars/python.bp
+++ b/grammars/python.bp
@@ -8,11 +8,11 @@
comment: `# ..$
string: "'''" ..%\n "'''" / '"""' ..%\n '"""' / `" ..%(`\.) `" / `' ..%(`\.) `'
-keyword: |("and" / "as" / "assert" / "break" / "class" / "continue" / "def" /
+keyword: "and" / "as" / "assert" / "break" / "class" / "continue" / "def" /
"del" / "elif" / "else" / "except" / "finally" / "for" / "from" /
"global" / "if" / "import" / "in" / "is" / "lambda" / "None" / "nonlocal" /
"not" / "or" / "pass" / "raise" / "return" / "try" / "while" /
- "with" / "yield")|
+ "with" / "yield"
class: class-def +(\N ..$)
class-def: ^_{class}_id[_parens]_`:
function: function-def +(\N ..$)