diff --git a/content/00_about_the_course.ipynb b/content/00_about_the_course.ipynb index 4f9dd5c..f875613 100644 --- a/content/00_about_the_course.ipynb +++ b/content/00_about_the_course.ipynb @@ -103,9 +103,10 @@ "source": [ "| Branch | Schedule | Status | First release | End of life | Release manager |\n", "| ------ | ---------------------------------------------- | ------------- | ------------- | ------------ | --------------------- |\n", - "| main | [PEP 719](https://peps.python.org/pep-0719/) | feature | _2024-10-01_ | _2029-10_ | Thomas Wouters |\n", - "| 3.12 | [PEP 693](https://peps.python.org/pep-0693/) | prerelease | _2023-10-02_ | _2028-10_ | Thomas Wouters |\n", - "| 3.11 | [PEP 664](https://peps.python.org/pep-0664/) | bugfix | 2022-10-24 | _2027-10_ | Pablo Galindo Salgado |\n", + "| main | [PEP 745](https://peps.python.org/pep-0745/) | feature | _2025-10-01_ | _2030-10_ | Hugo van Kemenade |\n", + "| 3.13 | [PEP 719](https://peps.python.org/pep-0719/) | prerelease | _2024-10-01_ | _2029-10_ | Thomas Wouters |\n", + "| 3.12 | [PEP 693](https://peps.python.org/pep-0693/) | bugfix | 2023-10-02 | _2028-10_ | Thomas Wouters |\n", + "| 3.11 | [PEP 664](https://peps.python.org/pep-0664/) | security | 2022-10-24 | _2027-10_ | Pablo Galindo Salgado |\n", "| 3.10 | [PEP 619](https://peps.python.org/pep-0619/) | security | 2021-10-04 | _2026-10_ | Pablo Galindo Salgado |\n", "| 3.9 | [PEP 596](https://peps.python.org/pep-0596/) | security | 2020-10-05 | _2025-10_ | Łukasz Langa |\n", "| 3.8 | [PEP 569](https://peps.python.org/pep-0569/) | security | 2019-10-14 | _2024-10_ | Łukasz Langa |\n", diff --git a/content/01_python_basic_overview.ipynb b/content/01_python_basic_overview.ipynb index 4732581..08430c8 100644 --- a/content/01_python_basic_overview.ipynb +++ b/content/01_python_basic_overview.ipynb @@ -248,7 +248,7 @@ "id": "f9271fdf-38aa-410f-b258-fc325e23b8c7", "metadata": {}, "source": [ - "❗**Gotcha**: `isidentifier` is a bit misleading as it returns `True` for keywords which cannot be used as identifier. There is already [an issue for that](https://bugs.python.org/issue33014)." + "❗**Gotcha**: `isidentifier` is a bit misleading as it returns `True` for keywords, which cannot be used as identifiers. There is already [an issue for that](https://bugs.python.org/issue33014)." ] }, { @@ -286,11 +286,7 @@ "cell_type": "code", "execution_count": null, "id": "45159ce4-1757-4379-9e66-baf4082a62b7", - "metadata": { - "tags": [ - "raises-exception" - ] - }, + "metadata": {}, "outputs": [], "source": [ "with = 1" @@ -519,14 +515,14 @@ "\n", "🐍 [Offical Docs](https://peps.python.org/pep-0008/)\n", "\n", - "| Topic | PEP8 Naming Convention | Examples | Underscore Preference |\n", - "|-------------|-------------------------|--------------------------|---------------------------------|\n", - "| Packages | All lowercase | `my_package` | No underscores |\n", - "| Modules | Short, lowercase | `my_module` | No underscores |\n", - "| Classes | PascalCase | `MyClass` | No underscores |\n", - "| Functions | Lowercase with underscores | `my_function` | Yes, for multiple words |\n", - "| Variables | Lowercase with underscores | `my_variable` | Yes, for multiple words |\n", - "| Constants | Uppercase with underscores | `MY_CONSTANT` | Yes, for multiple words |" + "| Topic | PEP8 Naming Convention | Examples | Underscore Preference |\n", + "|-------------|----------------------------|------------------------|---------------------------------|\n", + "| Packages | All lowercase | `packagename` | No underscores |\n", + "| Modules | Short, lowercase | `modulename` | No underscores |\n", + "| Classes | PascalCase | `ClassName` | No underscores |\n", + "| Functions | Lowercase with underscores | `function_name` | Yes, for multiple words |\n", + "| Variables | Lowercase with underscores | `variable_name` | Yes, for multiple words |\n", + "| Constants | Uppercase with underscores | `CONSTANT_NAME` | Yes, for multiple words |" ] }, { @@ -2919,7 +2915,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.6" + "version": "3.11.9" } }, "nbformat": 4,