Skip to content

Commit

Permalink
Correct spelling error.
Browse files Browse the repository at this point in the history
  • Loading branch information
andialbrecht committed Mar 16, 2024
1 parent c40f800 commit 02819f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sqlparse/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Lexer:
"""The Lexer supports configurable syntax.
To add support for additional keywords, use the `add_keywords` method."""

_default_intance = None
_default_instance = None

# Development notes:
# - This class is prepared to be able to support additional SQL dialects
Expand All @@ -47,10 +47,10 @@ class Lexer:
def get_default_instance(cls):
"""Returns the lexer instance used internally
by the sqlparse core functions."""
if cls._default_intance is None:
cls._default_intance = cls()
cls._default_intance.default_initialization()
return cls._default_intance
if cls._default_instance is None:
cls._default_instance = cls()
cls._default_instance.default_initialization()
return cls._default_instance

def default_initialization(self):
"""Initialize the lexer with default dictionaries.
Expand Down

0 comments on commit 02819f6

Please sign in to comment.