cpython/Doc/tutorial
Miss Islington (bot) b5e5013378
[3.14] Docs: except with multiple exceptions parentheses not required (GH-145848) (#145904)
Docs: except with multiple exceptions parentheses not required (GH-145848)

As of PEP 758 the except statement doesn't require parentheses anymore for exception tuples.
(cherry picked from commit 6d1e9ceed3)


See: https://peps.python.org/pep-0758/

Co-authored-by: Maurizio Sambati <duilio@users.noreply.github.com>
2026-03-13 06:12:02 -04:00
..
appendix.rst [3.14] gh-143048: Remove outdated mention to curses in the "Interactive Mode" docs (GH-143049) (#143325) 2026-01-01 11:57:57 +00:00
appetite.rst bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) 2021-09-22 20:33:36 +03:00
classes.rst [3.14] Fix typos and grammar errors across documentation (GH-144709) (#144801) 2026-02-17 12:53:42 +00:00
controlflow.rst [3.14] Fix typos and grammar errors across documentation (GH-144709) (#144801) 2026-02-17 12:53:42 +00:00
datastructures.rst [3.14] gh-140379: add hyperlinks to list and set (GH-140399) (#141386) 2025-11-11 06:08:45 +00:00
errors.rst [3.14] Docs: except with multiple exceptions parentheses not required (GH-145848) (#145904) 2026-03-13 06:12:02 -04:00
floatingpoint.rst gh-123492: Remove unnecessary :func: parentheses (#123493) 2024-08-30 14:34:09 +03:00
index.rst [3.14] Fix minor typo: 'web site' -> 'website' (GH-140561) (GH-140976) 2025-11-04 14:11:08 +01:00
inputoutput.rst [3.14] gh-132661: PEP 750 documentation: second pass (GH-137020) (#137392) 2025-08-16 09:21:29 +03:00
interactive.rst gh-116666: Add "token" glossary term (GH-130888) 2025-03-17 17:05:47 +01:00
interpreter.rst [3.14] gh-137113 docs: note readline no longer supported in REPL after 3.13 (GH-137142) (GH-143791) 2026-01-14 10:55:52 +01:00
introduction.rst [3.14] gh-145642: Docs: Avoid warning for invalid escape sequence in tutorial (GH-145643) (#145647) 2026-03-09 00:05:09 +01:00
modules.rst [3.14] Pedantic rewording of why relative importing doesn't work in main modules (GH-136846) (#136940) 2025-07-21 09:58:27 -07:00
stdlib.rst [3.14] gh-141412: Use reliable target URL for urllib example (GH-141474) 2025-11-12 18:40:20 +00:00
stdlib2.rst gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
venv.rst gh-125403: fix console formatting in Chapter 12 of the tutorial (#125404) 2024-10-13 22:16:15 +05:30
whatnow.rst [3.14] Fix typos and grammar errors across documentation (GH-144709) (#144801) 2026-02-17 12:53:42 +00:00