We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df7222 commit 866f47fCopy full SHA for 866f47f
1 file changed
pfa.c
@@ -185,9 +185,13 @@ static int isoptype(char c) {
185
return 0;
186
}
187
188
-static const char *specnames[] = {"if", "then", "else", "import", "except",
189
- "for", "while", "return", "yield", "from",
190
- "as", "else", "finally", NULL};
+/* import keyword; print(*keyword.kwlist) */
+static const char *specnames[] = {
+ "and", "as", "assert", "break", "class", "continue", "def",
191
+ "del", "elif", "else", "except", "finally", "for", "from",
192
+ "global", "if", "import", "in", "is", "lambda", "nonlocal",
193
+ "not", "or", "pass", "raise", "return", "try", "while",
194
+ "with", "yield", NULL};
195
196
static void pyformat(FILE *file, FILE *out, struct vlbuf *origfile,
197
struct vlbuf *formfile) {
0 commit comments