It only makes sense because it's python. A language where style is part of the syntax, and readability is one of the things that many libraries focus on , the so called being "pythonic".
It makes sense that the reference implementation mirrors the same patterns than the language itself.