News for hackers. Stuff that matters.
Re:Using attrs for everything in Python by jfb on Thursday August 25, 2016 @12:56PM (#12360555)
attr.s = "attrs" = plural of "attr"

attr.ib = "attirb" = alternate spelling of "attr"

It's too cute by half.

Re:Using attrs for everything in Python by ctoth on Thursday August 25, 2016 @07:04PM (#12363166)
It's awesome that Glyph wrote this article, but so many people are getting stuck on the default names here (me too, I don't like them so very much) that it's really detracting from the commentariet.

From the Attrs documentation:

(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).