2 ms·
Why does Python use methods for some functionality (e.g. list.index()) but functions for other (e.g. len(list))? http://effbot.org/pyfaq/why-does-python-use-me
by enrmarc 10y ago
Why does Python use methods for some functionality (e.g. list.index()) but functions for other (e.g. len(list))?
http://effbot.org/pyfaq/why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list.htm http://effbot.org/pyfaq/why-does-python-use-methods-for-some...
I guess is that.