aboutsummaryrefslogtreecommitdiff
path: root/section-parse-insane.py
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-03-02 23:07:45 -0500
committerPaul Duncan <pabs@pablotron.org>2023-03-02 23:07:45 -0500
commit4fe0d2bec815acae708234a1446e18ba4a16a964 (patch)
tree78b0aa3ae4586588b8108e12f352633c0b3c9e47 /section-parse-insane.py
parent14419f066973d26192bea9b97707bd872af772c7 (diff)
downloadsection-parse-examples-main.tar.bz2
section-parse-examples-main.zip
simplify python importsHEADmain
Diffstat (limited to 'section-parse-insane.py')
-rw-r--r--section-parse-insane.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/section-parse-insane.py b/section-parse-insane.py
index e7c6d9e..6dc531e 100644
--- a/section-parse-insane.py
+++ b/section-parse-insane.py
@@ -28,8 +28,7 @@
#
# load libraries
-import re
-import sys
+import re, sys
# section and row matches
S = re.compile('(?m)^test-text "[^"]+/foo"\n((?:^[^\n]*bar\.\d+\n)+)^\s*\n')