[issue27017] Python3.5.1: type().startswith()

SilentGhost report at bugs.python.org
Sat May 14 03:08:20 EDT 2016


SilentGhost added the comment:

This is exactly how methods on Python object have been behaving for year: any method can be called either as method on instance, or as method on class, with instance passed as the first argument.

----------
nosy: +SilentGhost
resolution:  -> not a bug
stage:  -> resolved

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


More information about the Python-bugs-list mailing list