Skip to content

Commit

Permalink
README: Python 3 print() function, English typo
Browse files Browse the repository at this point in the history
  • Loading branch information
endolith authored Feb 6, 2021
1 parent 2503819 commit 473fc62
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ DESCRIPTION
["Mr\nXavier\nHuon", 32, "Xav'"],
["Mr\nBaptiste\nClement", 1, "Baby"],
["Mme\nLouise\nBourgeau", 28, "Lou\n\nLoue"]])
print table.draw() + "\n"
print(table.draw())
print()
table = Texttable()
table.set_deco(Texttable.HEADER)
Expand All @@ -49,7 +50,7 @@ DESCRIPTION
["efghijk", 67.5434, .654, 89.6, 12800000000000000000000.00023],
["lmn", 5e-78, 5e-78, 89.4, .000000000000128],
["opqrstu", .023, 5e+78, 92., 12800000000000000000000]])
print table.draw()
print(table.draw())
Result:
Expand Down Expand Up @@ -167,7 +168,7 @@ CLASSES
| set_deco(self, deco)
| Set the table decoration
|
| - 'deco' can be a combinaison of:
| - 'deco' can be a combination of:
|
| Texttable.BORDER: Border around the table
| Texttable.HEADER: Horizontal line below the header
Expand Down

0 comments on commit 473fc62

Please sign in to comment.