[New-bugs-announce] [issue30426] why not use the same style func name. eg: int.to_bytes (with underline or not) and array.tobytes().

jf report at bugs.python.org
Mon May 22 03:58:58 EDT 2017


New submission from jf:

I note that, some functions have different style names, some have underline, and some not. why do so??

eg:
int.to_bytes()  and array.tobytes()
int.from_byte() and array.frombytes()
ZipInfo.from_file() and array.fromfile()
...

----------
components: Library (Lib)
messages: 294127
nosy: zaazbb
priority: normal
severity: normal
status: open
title: why not use the same style func name. eg: int.to_bytes (with underline or not) and array.tobytes().
versions: Python 3.7

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


More information about the New-bugs-announce mailing list