From 8456dcb18f5c99e25871b24d9f084b90b10b6053 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 5 Dec 2019 08:35:22 +1100 Subject: Fix simple typo: thows -> throws Closes #1128 --- pgcli/packages/parseutils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgcli/packages/parseutils/utils.py b/pgcli/packages/parseutils/utils.py index 998f71a3..1d6c45b8 100644 --- a/pgcli/packages/parseutils/utils.py +++ b/pgcli/packages/parseutils/utils.py @@ -85,7 +85,7 @@ def find_prev_keyword(sql, n_skip=0): ): # Find the location of token t in the original parsed statement # We can't use parsed.token_index(t) because t may be a child token - # inside a TokenList, in which case token_index thows an error + # inside a TokenList, in which case token_index throws an error # Minimal example: # p = sqlparse.parse('select * from foo where bar') # t = list(p.flatten())[-3] # The "Where" token -- cgit v1.2.3