FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove python 2 specific line. · krassowski/ipython@38119d1 · GitHub

Repository navigation

Commit 38119d1

Browse files
committed
Remove python 2 specific line.
1 parent 5935424 commit 38119d1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎examples/IPython Kernel/ipython-get-history.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@
3535
hist = HistoryAccessor()
3636

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

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL