summaryrefslogtreecommitdiff
path: root/pycco/main.py
diff options
context:
space:
mode:
authorAndrew Trask <andrew.trask@digitalreasoning.com>2015-11-14 13:44:10 -0600
committerAndrew Trask <andrew.trask@digitalreasoning.com>2015-11-14 13:44:10 -0600
commit17391b9c0f1a6b1ed5f062ba85a23a3511155678 (patch)
tree1e294a74f7468d1454cd733892369572d13f7b65 /pycco/main.py
parent1071b68d726d4b8e75bf342ba3a07815e2d4d735 (diff)
downloadpycco-17391b9c0f1a6b1ed5f062ba85a23a3511155678.tar.gz
cleanup whitespace alignment
Diffstat (limited to 'pycco/main.py')
-rw-r--r--pycco/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pycco/main.py b/pycco/main.py
index 8c70cc9..e99d4bb 100644
--- a/pycco/main.py
+++ b/pycco/main.py
@@ -48,6 +48,7 @@ def generate_documentation(source, outdir=None, preserve_paths=True,
code = open(source, "rb").read().decode(encoding)
return _generate_documentation(source, code, outdir, preserve_paths, language)
+
def _generate_documentation(file_path, code, outdir, preserve_paths, language):
"""
Helper function to allow documentation generation without file handling.