Skip to content

Commit 24e5027

Browse files
authored
Fix SyntaxWarning with Python 3.12 (#145)
pgspecial/main.py:237: SyntaxWarning: invalid escape sequence '\w'
1 parent b3abb95 commit 24e5027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgspecial/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def parse_special_command(sql):
234234

235235

236236
def show_extra_help_command(command, syntax, description):
237-
"""
237+
r"""
238238
A decorator used internally for registering help for a command that is not
239239
automatically executed via PGSpecial.execute, but invoked manually by the
240240
caller (e.g. \watch).

0 commit comments

Comments
 (0)