[issue30426] why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underline).

zaazbb report at bugs.python.org
Mon May 22 23:02:23 EDT 2017


zaazbb added the comment:

how about add a unitive style function name, for a compatibility reason, keep the old function exists also.

for example, add int.tobytes(), and keep int.to_bytes() exists.

----------

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


More information about the Python-bugs-list mailing list