Skip to content

Commit 02819f6

Browse files
committed
Correct spelling error.
1 parent c40f800 commit 02819f6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

sqlparse/lexer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Lexer:
2323
"""The Lexer supports configurable syntax.
2424
To add support for additional keywords, use the `add_keywords` method."""
2525

26-
_default_intance = None
26+
_default_instance = None
2727

2828
# Development notes:
2929
# - This class is prepared to be able to support additional SQL dialects
@@ -47,10 +47,10 @@ class Lexer:
4747
def get_default_instance(cls):
4848
"""Returns the lexer instance used internally
4949
by the sqlparse core functions."""
50-
if cls._default_intance is None:
51-
cls._default_intance = cls()
52-
cls._default_intance.default_initialization()
53-
return cls._default_intance
50+
if cls._default_instance is None:
51+
cls._default_instance = cls()
52+
cls._default_instance.default_initialization()
53+
return cls._default_instance
5454

5555
def default_initialization(self):
5656
"""Initialize the lexer with default dictionaries.

0 commit comments

Comments
 (0)