summaryrefslogtreecommitdiffstats
path: root/dump.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-07-18 16:23:54 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-07-18 16:23:54 +0100
commitedd5a3efd901df68243372f46087d96d4fbf7715 (patch)
tree037682c9ad9a85c2de8532c5623bf750c12dee5b /dump.py
parent90dfa516da857f300bd0ff483ebf7a412934bbcf (diff)
downloadtroggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.gz
troggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.bz2
troggle-edd5a3efd901df68243372f46087d96d4fbf7715.zip
Module documentation docstrings
Diffstat (limited to 'dump.py')
-rw-r--r--dump.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/dump.py b/dump.py
index 9206690..4464823 100644
--- a/dump.py
+++ b/dump.py
@@ -1,11 +1,15 @@
-# Mimic the sqlite3 console shell's .dump command
-# Author: Paul Kippes <kippesp@gmail.com>
+"""Used to create the SQL dump which mimics the import of cave and expo
+data from files.
-# Every identifier in sql is quoted based on a comment in sqlite
-# documentation "SQLite adds new keywords from time to time when it
-# takes on new features. So to prevent your code from being broken by
-# future enhancements, you should normally quote any identifier that
-# is an English language word, even if you do not have to."
+Mimic the sqlite3 console shell's .dump command
+Author: Paul Kippes <kippesp@gmail.com>
+
+Every identifier in sql is quoted based on a comment in sqlite
+documentation "SQLite adds new keywords from time to time when it
+takes on new features. So to prevent your code from being broken by
+future enhancements, you should normally quote any identifier that
+is an English language word, even if you do not have to."
+"""
def _iterdump(connection):
"""