Skip to content

Commit 8d67997

Browse files
committed
Fix version badge numbers across lessons
1 parent dc441e6 commit 8d67997

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

ui/parse_lessons.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,14 @@ def humanize_name(name: str) -> str:
1414

1515
LESSON_ANNOTATIONS = {
1616
# Syntax
17-
"template_strings": {"version": "Python 3.6", "feature": "f-strings"},
17+
"template_strings": {"version": "Python 3.14", "feature": "Template strings (PEP 750)"},
1818
"walrus_operator": {"version": "Python 3.8", "feature": "Assignment expressions (:=)"},
1919
"arg_enforcement": {"version": "Python 3.8", "feature": "Positional-only parameters (/)"},
2020
# Data structures
2121
"dict_union": {"version": "Python 3.9", "feature": "Dictionary union operators (|)"},
2222
# Advanced
23-
"context_manager": {"version": "Python 2.5", "feature": "with statement"},
24-
"meta_class": {"version": "Python 3.0", "feature": "metaclass keyword"},
25-
"subinterpreters": {"version": "Python 3.12", "feature": "Per-interpreter GIL (PEP 684)"},
26-
"async": {"version": "Python 3.5", "feature": "async/await syntax"},
27-
"mocking": {"version": "Python 3.3", "feature": "unittest.mock module"},
23+
"subinterpreters": {"version": "Python 3.14", "feature": "concurrent.interpreters (PEP 734)"},
24+
"async": {"version": "Python 3.11", "feature": "asyncio Task Groups (PEP 654)"},
2825
"pattern_matching": {"version": "Python 3.10", "feature": "Structural Pattern Matching (match/case)"},
2926
}
3027

0 commit comments

Comments
 (0)