mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 12:51:27 +08:00
The function `threading.setprofile` can be called with a `None` value to clear the profile function. This does unset the function from the existing threads, it only clears the callback function so that new threads are created without the profiling hook installed.