From 38119d16744abe88f8ccac7f38d7bf5898db1388 2020-02-01 00:46:51 From: Terry Davis <16829776+terrdavis@users.noreply.github.com> Date: 2020-02-01 00:46:51 Subject: [PATCH] Remove python 2 specific line. --- diff --git a/examples/IPython Kernel/ipython-get-history.py b/examples/IPython Kernel/ipython-get-history.py index 5615842..5e68bf5 100755 --- a/examples/IPython Kernel/ipython-get-history.py +++ b/examples/IPython Kernel/ipython-get-history.py @@ -35,5 +35,4 @@ with dest: 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')