summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2019-12-08 19:17:14 -0800
committerGitHub <noreply@github.com>2019-12-08 19:17:14 -0800
commit31d0ea9d226f0c7b1b924a30d7bddc2b561459a4 (patch)
treecd06507c56a473fea6a7c6102f7668195a64f4e4
parent69b2da9f8eab86b0e4bad789edcea0332e6d692b (diff)
parent8456dcb18f5c99e25871b24d9f084b90b10b6053 (diff)
Merge pull request #1129 from timgates42/bugfix/typo_throws
Fix simple typo: thows -> throws
-rw-r--r--pgcli/packages/parseutils/utils.py2
1 files changed, 1 insertions, 1 deletions
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