diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-07-18 16:23:54 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-07-18 16:23:54 +0100 |
commit | edd5a3efd901df68243372f46087d96d4fbf7715 (patch) | |
tree | 037682c9ad9a85c2de8532c5623bf750c12dee5b /dump.py | |
parent | 90dfa516da857f300bd0ff483ebf7a412934bbcf (diff) | |
download | troggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.gz troggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.bz2 troggle-edd5a3efd901df68243372f46087d96d4fbf7715.zip |
Module documentation docstrings
Diffstat (limited to 'dump.py')
-rw-r--r-- | dump.py | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -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):
"""
|