Issue #24314: Fix doc links for general attributes like __name__, __dict__

This commit is contained in:
Martin Panter 2016-06-18 03:57:31 +00:00
parent 886a5f352f
commit bae5d81f5d
14 changed files with 69 additions and 64 deletions

View file

@ -59,10 +59,10 @@ Module Objects
.. index:: single: __dict__ (module attribute)
Return the dictionary object that implements *module*'s namespace; this object
is the same as the :attr:`__dict__` attribute of the module object. This
is the same as the :attr:`~object.__dict__` attribute of the module object. This
function never fails. It is recommended extensions use other
:c:func:`PyModule_\*` and :c:func:`PyObject_\*` functions rather than directly
manipulate a module's :attr:`__dict__`.
manipulate a module's :attr:`~object.__dict__`.
.. c:function:: PyObject* PyModule_GetNameObject(PyObject *module)