Skip to content

Commit 2855363

Browse files
author
Dan Nicholson
committed
Fix doctests for colon_grid
1 parent 18d7b50 commit 2855363

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tabulate/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,6 @@ def tabulate(
18621862
18631863
>>> print(tabulate([["spam", 41.9999], ["eggs", "451.0"]],
18641864
... ["strings", "numbers"], "colon_grid"))
1865-
18661865
+-----------+-----------+
18671866
| strings | numbers |
18681867
+:==========+:==========+
@@ -1873,8 +1872,7 @@ def tabulate(
18731872
18741873
>>> print(tabulate([["spam", 41.9999], ["eggs", "451.0"]],
18751874
... ["strings", "numbers"], "colon_grid",
1876-
... colalign=["right, left"]))
1877-
1875+
... colalign=["right", "left"]))
18781876
+-----------+-----------+
18791877
| strings | numbers |
18801878
+==========:+:==========+

0 commit comments

Comments
 (0)