Skip to content

Commit f4528a6

Browse files
authored
Merge pull request #175 from minrk/session=0
default to session=0, start=0
2 parents bfae5a4 + 461ef1a commit f4528a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ipykernel/ipkernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def do_inspect(self, code, cursor_pos, detail_level=0):
280280

281281
return reply_content
282282

283-
def do_history(self, hist_access_type, output, raw, session=None, start=None,
283+
def do_history(self, hist_access_type, output, raw, session=0, start=0,
284284
stop=None, n=None, pattern=None, unique=False):
285285
if hist_access_type == 'tail':
286286
hist = self.shell.history_manager.get_tail(n, raw=raw, output=output,

0 commit comments

Comments
 (0)