[docs] [issue12185] Decimal documentation lists "first" and "second" arguments, should be "self" and "other"

Adam Woodbeck report at bugs.python.org
Sun May 29 14:57:01 CEST 2011


Adam Woodbeck <adam.woodbeck at gmail.com> added the comment:

I propose:

object.copy_sign(other)

    Return a copy of *object* with the sign set to be the same as the sign of *other*.

This format is most familiar to me.  But like Ezio wrote, all other methods referring to first and second operands would need to updated to refer to *object* and *other*, respectively.

----------

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


More information about the docs mailing list