From 2e45cb4aa2b4cc051585ec185ff14c5b0e2f9f2a Mon Sep 17 00:00:00 2001 From: MewX Date: Mon, 27 Apr 2020 17:38:09 +1000 Subject: [PATCH] Removing redundant asterisk in md_table signature Running with Python 3.5.3 and getting: ``` $ python csvtomd.py File "csvtomd.py", line 38 def md_table(table, *, padding=1, divider='|', header_div='-'): ^ SyntaxError: invalid syntax ``` --- csvtomd/csvtomd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csvtomd/csvtomd.py b/csvtomd/csvtomd.py index a0589a3..733e1d0 100755 --- a/csvtomd/csvtomd.py +++ b/csvtomd/csvtomd.py @@ -80,7 +80,7 @@ def add_dividers(row, divider, padding): return div.join(row) -def md_table(table, *, padding=DEFAULT_PADDING, divider='|', header_div='-'): +def md_table(table, padding=DEFAULT_PADDING, divider='|', header_div='-'): """ Convert a 2D array of items into a Markdown table.