Skip to content

Commit 3b0d52c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent aaceed0 commit 3b0d52c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ipykernel/displayhook.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ def reset_thread_parent(self, token):
7777
"""Reset the parent header to undo the set_thread_parent call that returned the token."""
7878
self._parent_header.reset(token)
7979

80-
8180
def set_parent(self, parent):
8281
"""Set the global and thread parent header."""
8382
self.parent_header = extract_header(parent)
@@ -141,7 +140,6 @@ def parent_header(self, value):
141140
self._parent_header.set(value)
142141
self._parent_header_global = value
143142

144-
145143
def set_thread_parent(self, parent):
146144
"""Set the parent header for the calling thread only. Returns a reset token that can be used with reset_thread_parent."""
147145
return self._parent_header.set(extract_header(parent))

0 commit comments

Comments
 (0)