[issue34612] doc Some classes are treated as functions in Built-in Functions

Eric V. Smith report at bugs.python.org
Sat Sep 8 19:11:13 EDT 2018


Eric V. Smith <eric at trueblade.com> added the comment:

I'm not sure this is an improvement. While it's true that 'complex' is a class, it's described here as a function. Same as 'int'. The fact that it's a function or class isn't so important here.

I suspect it will confuse people to have something described as a class in the section titled 'Built-in Functions'. We wouldn't want to change the section to the more correct 'Built-in Callables'.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34612>
_______________________________________


More information about the Python-bugs-list mailing list