The style guide leaves this for you:
Function names should be lowercase, words separated by underscores , as necessary, to improve readability.
In other words, if it seems to you that adding an underscore to the name of your method would make it easier to read, by all means you can drop one (or two!) There. If you think that the standard library has enough other similar cases, then feel free to leave it. There is no hard rule (although others may disagree with this point). The only thing that I consider generally accepted is that you should not use "CapWords" or "camelCase" for your methods. "CapWords" should be reserved for classes, and I'm not sure of any priority for "camelCase" anywhere (although I could be wrong about that) ...
source share