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

Skip to content

Commit e7041fa

Browse files
committed
Closes #26987: Merge with 3.5
2 parents 6a8af9a + 78b5ed9 commit e7041fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ def _bootstrap_inner(self):
923923
# self.
924924
if _sys and _sys.stderr is not None:
925925
print("Exception in thread %s:\n%s" %
926-
(self.name, _format_exc()), file=self._stderr)
926+
(self.name, _format_exc()), file=_sys.stderr)
927927
elif self._stderr is not None:
928928
# Do the best job possible w/o a huge amt. of code to
929929
# approximate a traceback (code ideas from

0 commit comments

Comments
 (0)