Fix markup
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 267c96b..1c27cc9 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -214,7 +214,7 @@
       Added a symlink attack resistant version that is used automatically
       if platform supports fd-based functions.
 
-   .. data:: rmtree.avoids_symlink_attacks
+   .. attribute:: rmtree.avoids_symlink_attacks
 
       Indicates whether the current platform and implementation provides a
       symlink attack resistant version of :func:`rmtree`.  Currently this is