diff options
| author | Simon Heisterkamp <simon@heisterkamp.dk> | 2022-11-30 15:00:03 +0000 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2023-01-02 08:54:47 +0100 |
| commit | 8515d2edd70fc16d69aa7b1094f9b3534dfa74d9 (patch) | |
| tree | 867c9b95562c24796c63089cbf846247f87f02e5 /sqlparse/keywords.py | |
| parent | e37eaea4a78cbb335070ffec018bfc28425aa1a4 (diff) | |
| download | sqlparse-8515d2edd70fc16d69aa7b1094f9b3534dfa74d9.tar.gz | |
remove type annotations for python 3.5 compatibility
Diffstat (limited to 'sqlparse/keywords.py')
| -rw-r--r-- | sqlparse/keywords.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index ce53781..6bc7937 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -6,18 +6,12 @@ # the BSD License: https://opensource.org/licenses/BSD-3-Clause import re -from typing import Dict, List, Tuple, Callable, Union from sqlparse import tokens # object() only supports "is" and is useful as a marker PROCESS_AS_KEYWORD = object() -SQL_REGEX_TYPE = List[ - Tuple[Callable, Union[type(PROCESS_AS_KEYWORD), tokens._TokenType]] -] -KEYWORDS_TYPE = Dict[str, tokens._TokenType] - SQL_REGEX = { 'root': [ |
