Skip to content

Commit 05bd429

Browse files
authored
Merge pull request #9 from mgeier/doc-py3k
DOC: Remove two mentions of Python 2
2 parents 386e299 + faa3276 commit 05bd429

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

nbclient/execute.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ class Executor(LoggingConfigurable):
2323
help=dedent(
2424
"""
2525
The time to wait (in seconds) for output from executions.
26-
If a cell execution takes longer, an exception (TimeoutError
27-
on python 3+, RuntimeError on python 2) is raised.
26+
If a cell execution takes longer, a TimeoutError is raised.
2827
2928
`None` or `-1` will disable the timeout. If `timeout_func` is set,
3029
it overrides `timeout`.
@@ -39,9 +38,8 @@ class Executor(LoggingConfigurable):
3938
"""
4039
A callable which, when given the cell source as input,
4140
returns the time to wait (in seconds) for output from cell
42-
executions. If a cell execution takes longer, an exception
43-
(TimeoutError on python 3+, RuntimeError on python 2) is
44-
raised.
41+
executions. If a cell execution takes longer, a TimeoutError
42+
is raised.
4543
4644
Returning `None` or `-1` will disable the timeout for the cell.
4745
Not setting `timeout_func` will cause the preprocessor to

0 commit comments

Comments
 (0)