3 ms·
From the docs: (If you don’t like the playful attr.s and attr.ib, you can also use their no-nonsense aliases attr.attributes and attr.attr).
by ctoth 10y ago
From the docs:
(If you don’t like the playful attr.s and attr.ib, you can also use their no-nonsense aliases attr.attributes and attr.attr).
- safewayclubcard 10y agoI would consider that a negative. > There should be one-- and preferably only one --obvious way to do it. Whats going to happen when all professional code is using `attr.attributes` but all the documentation uses `attr.s`? Anyway its a minor point. I personally think it is a poor decision when a programmer decides to be cute than clear.