2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 02:27:09 +00:00

Module documentation docstrings

This commit is contained in:
Philip Sargent
2020-07-18 16:23:54 +01:00
parent 90dfa516da
commit edd5a3efd9
10 changed files with 100 additions and 17 deletions

18
dump.py
View File

@@ -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):
"""