15.05.18 22:10, Tobiah пише:
Why is it len(object) instead of object.len?

Because the first form looked better to Guido van Rossum.

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

How do you get the 'getattr' attribute then?

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to