Skip to content

Commit 85a567c

Browse files
committed
better examples in readme
1 parent 3f623a7 commit 85a567c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ print(tbl) # <>
1515
tbl.append(1)
1616
tbl["foo"] = "bar"
1717
print(tbl) # <1, foo: 'bar'>
18-
print(tbl == Table(1,foo="bar")) # True
1918

20-
print(repr(tbl)) # Table([1]; {"foo": "bar"})
19+
print(repr(tbl)) # Table([1]; {"foo": "bar"})
20+
tbl += [2,3,4]
21+
print(tbl) # <1, 2, 3, 4, foo: 'bar'>
22+
print(tbl == Table(1,2,3,4,foo="bar"))
23+
```

0 commit comments

Comments
 (0)