diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2017-11-13 05:24:13 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2017-11-13 05:24:13 -0500 |
| commit | 6f6bd87759f912354a24ef69f96dd35afc980feb (patch) | |
| tree | be4a4eae63611367549c90e03378a816bd67a6b5 | |
| parent | 1b5d9131b15914b276f2f403dc1250c0701dfb82 (diff) | |
Always return _something_ from `display`
| -rw-r--r-- | actinide/types.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actinide/types.py b/actinide/types.py index 13f1368..97ccdbb 100644 --- a/actinide/types.py +++ b/actinide/types.py @@ -257,3 +257,5 @@ def display(value): return display_decimal(value) if procedure_p(value): return display_procedure(value) + # Give up and use repr to avoid printing `None`. + return repr(value) |
