Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6cf9f38

Browse files
committed
lint
1 parent 539af70 commit 6cf9f38

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

IPython/core/interactiveshell.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,9 +3282,9 @@ def error_before_exec(value):
32823282
if store_history:
32833283
if self.history_manager:
32843284
# Store formatted traceback and error details
3285-
self.history_manager.exceptions[
3286-
self.execution_count
3287-
] = self._format_exception_for_storage(value)
3285+
self.history_manager.exceptions[self.execution_count] = (
3286+
self._format_exception_for_storage(value)
3287+
)
32883288
self.execution_count += 1
32893289
result.error_before_exec = value
32903290
self.last_execution_succeeded = False
@@ -3398,9 +3398,9 @@ def error_before_exec(value):
33983398
exec_count = self.execution_count
33993399
if result.error_in_exec:
34003400
# Store formatted traceback and error details
3401-
self.history_manager.exceptions[
3402-
exec_count
3403-
] = self._format_exception_for_storage(result.error_in_exec)
3401+
self.history_manager.exceptions[exec_count] = (
3402+
self._format_exception_for_storage(result.error_in_exec)
3403+
)
34043404

34053405
# Each cell is a *single* input, regardless of how many lines it has
34063406
self.execution_count += 1

0 commit comments

Comments
 (0)