Stephen J. Turnbull wrote:
Evidently somebody thought "float" was appropriate, or they would have just written "Returns a complex value."
It's not quite as simple as that, because that paragraph in the docs is actually shared between the descriptions of __int__, __float__ and __complex__. So it's ambiguous whether "appropriate" means of the exact type corresponding to the name of the function, or something substitutable for that type. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com