diff --git a/nbconvert/preprocessors/execute.py b/nbconvert/preprocessors/execute.py index 2b9344ad1..5c7ee7e96 100644 --- a/nbconvert/preprocessors/execute.py +++ b/nbconvert/preprocessors/execute.py @@ -21,7 +21,7 @@ def executenb(*args, **kwargs): # We inherit from both classes to allow for traitlets to resolve as they did pre-6.0. -# This unfortunatley makes for some ugliness around initialization as NotebookClient +# This unfortunately makes for some ugliness around initialization as NotebookClient # assumes it's a constructed class with a nb object that we have to hack around. class ExecutePreprocessor(Preprocessor, NotebookClient): """ @@ -44,7 +44,7 @@ def preprocess(self, nb, resources=None, km=None): The input argument *nb* is modified in-place. Note that this function recalls NotebookClient.__init__, which may look wrong. - However since the preprocess call acts line an init on exeuction state it's expected. + However since the preprocess call acts line an init on execution state it's expected. Therefore, we need to capture it here again to properly reset because traitlet assignments are not passed. There is a risk if traitlets apply any side effects for dual init.