diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2022-02-10 14:32:13 +0000 |
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-02-10 14:32:13 +0000 |
| commit | d7485e7632c3625a6c179e12cecbc5b0c1bb73bd (patch) | |
| tree | 920b290c4d22786d93da111a67098dca2f69efd8 /jinja_helpers.py | |
| parent | 8966f20ccb9897282d2ac7c174b87934fc38fc15 (diff) | |
| download | Smarker-d7485e7632c3625a6c179e12cecbc5b0c1bb73bd.tar.gz Smarker-d7485e7632c3625a6c179e12cecbc5b0c1bb73bd.zip | |
finished runtime analysis, added text output
Diffstat (limited to 'jinja_helpers.py')
| -rw-r--r-- | jinja_helpers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jinja_helpers.py b/jinja_helpers.py index faf6266..86b02e2 100644 --- a/jinja_helpers.py +++ b/jinja_helpers.py @@ -45,6 +45,9 @@ def len_documentation(comments, docs): return commentlen + docslen +def len_(obj): + return len(obj) + def get_source_numlines(source): return "%d lines (%d characters)" % (source.count("\n"), len(source)) |
