Skip to content

Commit ca120d8

Browse files
committed
Fix remaining SyntaxWarnings
1 parent 5ba8849 commit ca120d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sqlite_dissect/file/schema/column.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ def _is_column_constraint_preface(segment):
544544
Note: When the check is done on the segment, we check the next character is not one of the allowed
545545
characters in a column name, data type, etc. to make sure the constraint preface is not the
546546
beginning of a longer name where it is not actually a constraint preface (example: primaryEmail).
547-
The r"\w" regular expression when no LOCALE and UNICODE flags are set will be equivalent to the set:
547+
The regular expression when no LOCALE and UNICODE flags are set will be equivalent to the set:
548548
[a-zA-Z0-9_].
549549
550550
"""

sqlite_dissect/file/schema/master.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ class for parsing. This was decided to be the best way to associate comments ba
14141414
Note: When the check is done on the definition, we check the next character is not one of the
14151415
allowed characters in a column name to make sure the constraint preface is not the
14161416
beginning of a longer column name where it is not actually a constraint preface
1417-
(example: primaryEmail). The r'\w' regular expression when no LOCALE and UNICODE flags
1417+
(example: primaryEmail). The regular expression when no LOCALE and UNICODE flags
14181418
are set will be equivalent to the set: [a-zA-Z0-9_].
14191419
14201420
"""

0 commit comments

Comments
 (0)