Fix markup to get a target instead of a comment
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index a18cf92..c4dd438 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -790,7 +790,7 @@
 
 
 
-.. queue-listener:
+.. _queue-listener:
 
 QueueListener
 ^^^^^^^^^^^^^