diff --git a/index.html b/index.html index 6ad8ee6..b30de2b 100644 --- a/index.html +++ b/index.html @@ -923,11 +923,13 @@ or contravariant behavior correspondingly. Examples
Modules that are designed for use via from M import * should use the __all__ mechanism to prevent exporting globals, or use the older convention of prefixing such globals with an underscore (which you might want to do to indicate these globals are “module non-public”).
Function names should be lowercase, with words separated by underscores as necessary to improve readability.
+Variable names follow the same convention as function names.
+mixedCase is allowed only in contexts where that’s already the prevailing style (e.g. threading.py), to retain backwards compatibility.