Skip to content

Commit 8d34105

Browse files
gkaretkaandialbrecht
authored andcommitted
Update extending.rst
Fix broken example
1 parent 1c6dff9 commit 8d34105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ a keyword to the lexer:
7070
lex.add_keywords(keywords.KEYWORDS)
7171
7272
# add a custom keyword dictionary
73-
lex.add_keywords({'BAR', sqlparse.tokens.Keyword})
73+
lex.add_keywords({'BAR': sqlparse.tokens.Keyword})
7474
7575
# no configuration is passed here. The lexer is used as a singleton.
7676
sqlparse.parse("select * from foo zorder by bar;")

0 commit comments

Comments
 (0)