diff --git a/Lib/threading.py b/Lib/threading.py index 759454216fc..78135f9b539 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -60,7 +60,7 @@ _trace_hook = None def setprofile(func): global _profile_hook _profile_hook = func - + def settrace(func): global _trace_hook _trace_hook = func @@ -427,7 +427,7 @@ class Thread(_Verbose): if _profile_hook: self._note("%s.__bootstrap(): registering profile hook", self) _sys.setprofile(_profile_hook) - + try: self.run() except SystemExit: