From dac5ca99cd6a0b549e37901d0f0c1f6b53b016b1 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 15 Mar 2015 17:51:53 +0100 Subject: [PATCH] Minor tweak to evtable docstring example. --- evennia/utils/evtable.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/evennia/utils/evtable.py b/evennia/utils/evtable.py index d88ceee627..443c8d4bd9 100644 --- a/evennia/utils/evtable.py +++ b/evennia/utils/evtable.py @@ -10,7 +10,9 @@ due to a bug in the python interpreter and print. Example usage: ```python - table = EvTable("Heading1", "Heading2", + from evennia.utils import evtable + + table = evtable.EvTable("Heading1", "Heading2", table=[[1,2,3],[4,5,6],[7,8,9]], border="cells") table.add_column("This is long data", "This is even longer data") table.add_row("This is a single row")