summaryrefslogtreecommitdiff
path: root/scripts/make_errors.py
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2021-05-18 05:47:41 +1000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2021-05-20 12:22:47 +0200
commit0d7953a521a2957f44dff72df40e610973f37e75 (patch)
treed57afb8d9734cada94f318f3b9bfa90bd00a46fd /scripts/make_errors.py
parent73969ba3e757373a73b4c163af338c6efbab5bef (diff)
docs: fix a few simple typos
There are small typos in: - doc/src/faq.rst - psycopg/cursor_type.c - psycopg/xid_type.c - scripts/make_errorcodes.py - scripts/make_errors.py - tests/dbapi20.py - tests/test_connection.py Fixes: - Should read `publicly` rather than `publically`. - Should read `unicode` rather than `uniconde`. - Should read `supposed` rather than `suppsed`. - Should read `something` rather than `somenthing`. - Should read `portable` rather than `portible`. - Should read `exhausted` rather than `exausted`. - Should read `compliance` rather than `compiliance`. Closes #1275
Diffstat (limited to 'scripts/make_errors.py')
-rwxr-xr-xscripts/make_errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make_errors.py b/scripts/make_errors.py
index 0d0a3a81..897f80b4 100755
--- a/scripts/make_errors.py
+++ b/scripts/make_errors.py
@@ -61,7 +61,7 @@ def parse_errors_txt(url):
m = re.match(r"(.....)\s+(?:E|W|S)\s+ERRCODE_(\S+)(?:\s+(\S+))?$", line)
if m:
errcode, macro, spec = m.groups()
- # skip errcodes without specs as they are not publically visible
+ # skip errcodes without specs as they are not publicly visible
if not spec:
continue
errlabel = spec.upper()