命名规范推荐表:
Type | Public | Internal |
Modules | lower_with_under | _lower_with_under |
Packages | lower_with_under | |
Classes | CapWords | |
Exceptions | CapWords | |
Functions | lower_with_under() | _lower_with_under() |
Global/Class Constants | CAPS_WITH_UNDER | _CAPS_WITH_UNDER |
Global/Class Variables | lower_with_under | lower_with_under |
Instance Variables | lower_with_under | _lower_with_under or __lower_with_under |
Method Names | lower_with_under() | _lower_with_under() or __lower_with_under() |
Function/Method Parameters | lower_with_under | |
Local Variables | lower_with |