Skip to content

Commit aacd4ab

Browse files
committed
Fix typos in code comments
1 parent 5900a08 commit aacd4ab

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Contributors:
147147
* Devadathan M B (devadathanmb)
148148
* Charalampos Stratakis
149149
* Laszlo Bimba (bimlas)
150+
* MJSHANG (mokashang)
150151

151152
Creator:
152153
--------

changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Bug fixes:
1717
* Hide timezone notice at startup when local and server timezones are the same.
1818
* Let `sqlparse` accept arbitrarily-large queries.
1919

20+
Internal:
21+
---------
22+
* Fix typos in code comments.
23+
2024
4.4.0 (2025-12-24)
2125
==================
2226

pgcli/pgexecute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
ViewDef = namedtuple("ViewDef", "nspname relname relkind viewdef reloptions checkoption")
2020

2121

22-
# we added this funcion to strip beginning comments
23-
# because sqlparse didn't handle tem well. It won't be needed if sqlparse
22+
# we added this function to strip beginning comments
23+
# because sqlparse didn't handle them well. It won't be needed if sqlparse
2424
# does parsing of this situation better
2525

2626

tests/test_pgexecute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def test_execute_commented_first_line_and_special(executor, pgspecial, tmpdir):
391391
assert result[0].find("No help") >= 0
392392

393393
# TODO: we probably don't want to do this but sqlparse is not parsing things well
394-
# we relly want it to find help but right now, sqlparse isn't dropping the /*comment*/
394+
# we really want it to find help but right now, sqlparse isn't dropping the /*comment*/
395395
# style comments after command
396396

397397
statement = r"""/*comment1*/

0 commit comments

Comments
 (0)