Skip to content

Commit

Permalink
Merge pull request dabeaz-course#39 from Aymane11/main-1
Browse files Browse the repository at this point in the history
Fix missing bracket in ex3_6.   Good catch!
  • Loading branch information
dabeaz authored Aug 7, 2023
2 parents d540e77 + ccfcd4c commit 3ac425a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exercises/ex3_6.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Try it out:
>>> from tableformat import create_formatter
>>> formatter = create_formatter('text')
>>> with redirect_stdout(open('out.txt', 'w')) as file:
tableformat.print_table(portfolio, ['name','shares','price', formatter)
tableformat.print_table(portfolio, ['name','shares','price'], formatter)
file.close()

>>> # Inspect the file
Expand Down

0 comments on commit 3ac425a

Please sign in to comment.