Skip to content

Commit

Permalink
Remove python 2 specific line.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrdavis committed Feb 1, 2020
1 parent 5935424 commit 38119d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/IPython Kernel/ipython-get-history.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@
hist = HistoryAccessor()

for session, lineno, cell in hist.get_range(session=session_number, raw=raw):
cell = cell.encode('utf-8') # This line is only needed on Python 2.
dest.write(cell + '\n')

0 comments on commit 38119d1

Please sign in to comment.