Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In this article, some listed operators are:

    operator.length_hint
    operator.itemgetter
    operator.countOf
What's the (historical?) reason the operator module uses different casing standards?



typically in CPython its just a sign that the code is fairly old, or at times (as with the unittest module), that an API was ported from CamlCase language at least partially.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: