syntax oddities

Tobiah toby at tobiah.org
Tue May 15 15:10:07 EDT 2018


Why is it len(object) instead of object.len?

Why is it getattr(object, item) rather then object.getattr(item)?

etc...


Thanks



More information about the Python-list mailing list