diff --git a/keyboard/mouse.py b/keyboard/mouse.py
index <HASH>..<HASH> 100644
--- a/keyboard/mouse.py
+++ b/keyboard/mouse.py
@@ -157,7 +157,7 @@ def unhook_all():
     Removes all hooks registered by this application. Note this may include
     hooks installed by high level functions, such as `record`.
     """
-    _listener.handlers.clear()
+    del _listener.handlers[:]
 
 def record(button=RIGHT, target_types=(DOWN,)):
     """
Remove python3-only method in mouse too