summaryrefslogtreecommitdiff
path: root/sqlparse/lexer.py
diff options
context:
space:
mode:
authorSimon Heisterkamp <simon@heisterkamp.dk>2023-01-01 14:20:52 +0000
committerAndi Albrecht <albrecht.andi@gmail.com>2023-01-02 08:54:47 +0100
commitfbf9a576fe40ad8e4d51bb922bb454c317f73403 (patch)
treecd21c635a59d9e01d028e05de606d0264ef5fa65 /sqlparse/lexer.py
parent4efdc036623e1586206d7132abf95696953deb9a (diff)
downloadsqlparse-fbf9a576fe40ad8e4d51bb922bb454c317f73403.tar.gz
additional documentation
Diffstat (limited to 'sqlparse/lexer.py')
-rw-r--r--sqlparse/lexer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sqlparse/lexer.py b/sqlparse/lexer.py
index 657177c..6e17fca 100644
--- a/sqlparse/lexer.py
+++ b/sqlparse/lexer.py
@@ -50,7 +50,9 @@ class Lexer(metaclass=_LexerSingletonMetaclass):
def clear(self):
"""Clear all syntax configurations.
- Useful if you want to load a reduced set of syntax configurations."""
+ Useful if you want to load a reduced set of syntax configurations.
+ After this call, reg-exps and keyword dictionaries need to be loaded
+ to make the lexer functional again."""
self._SQL_REGEX = []
self._keywords = []