From 3caca0da97bcfb433867e1ca1b51f820def0187a Mon Sep 17 00:00:00 2001 From: bhumijgupta Date: Mon, 24 Jun 2019 16:47:20 +0530 Subject: [PATCH] Migrate changes made in python/pep8@e0436e9 --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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

+

Function and variable names

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.