mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Minor tweak to evtable docstring example.
This commit is contained in:
parent
a26ff80447
commit
dac5ca99cd
1 changed files with 3 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue