aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/templates/events/pages/code-jams/code-style-guide.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/templates/events/pages/code-jams/code-style-guide.html b/pydis_site/templates/events/pages/code-jams/code-style-guide.html
index 31156da2..4ff5baaf 100644
--- a/pydis_site/templates/events/pages/code-jams/code-style-guide.html
+++ b/pydis_site/templates/events/pages/code-jams/code-style-guide.html
@@ -91,7 +91,7 @@ result = [
def my_function():
my_variable = "value"</code></pre>
- <p>Class and type variable names should use the camel case style.</p>
+ <p>Class and type variable names should use the PascalCase style.</p>
<pre><code class="language-python">from typing import List
@@ -99,7 +99,7 @@ class MyClass:
pass
ListOfMyClass = List[MyClass]</code></pre>
- <p>Constant names should be all uppercase, and words should be separated with underscores.</p>
+ <p>Constant names should use the SCREAMING_SNAKE_CASE style.</p>
<pre><code class="language-python">MY_CONSTANT = 1</code></pre>
<p>
You should avoid single-character names, as these might be confusing.