[docs] [issue11975] Fix referencing of built-in types (list, int, ...)

Éric Araujo report at bugs.python.org
Mon May 30 15:51:36 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

Due to implementation details and history of CPython, it is not “more correct” to say that int is a function and a class.  You could argue either.  The question is however moot; when you mark up something with a mod, func, class or meth role, Sphinx will find the target without paying attention to its type.  So changing :func: to :class: does not bring anything.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11975>
_______________________________________


More information about the docs mailing list