mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-17 14:35:58 +08:00
4c63939585
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.