Use the "class" directive instead of "data" for ReferenceType,
ProxyType and CallableProxyType.
(cherry picked from commit
10c421970beca89df92a918f2247fb8850d3b6cc)
Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
.. versionadded:: 3.4
-.. data:: ReferenceType
+.. class:: ReferenceType
The type object for weak references objects.
-.. data:: ProxyType
+.. class:: ProxyType
The type object for proxies of objects which are not callable.
-.. data:: CallableProxyType
+.. class:: CallableProxyType
The type object for proxies of callable objects.