summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/extending.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/extending.rst b/docs/source/extending.rst
index 97b7d38..0c10924 100644
--- a/docs/source/extending.rst
+++ b/docs/source/extending.rst
@@ -45,7 +45,7 @@ a keyword to the lexer:
from sqlparse.lexer import Lexer
# get the lexer singleton object to configure it
- lex = Lexer()
+ lex = Lexer.get_default_instance()
# Clear the default configurations.
# After this call, reg-exps and keyword dictionaries need to be loaded