From cf7c5329cf7a9943a09a8acefc46e317bc48421f Mon Sep 17 00:00:00 2001 From: TylerAnderson22 <53876915+TylerAnderson22@users.noreply.github.com> Date: Tue, 28 Dec 2021 06:31:26 -0500 Subject: [PATCH] Fix typos in execute.py (#1692) --- nbconvert/preprocessors/execute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.