]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104683: Modernise Tools/clinic/ (#104684)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Sat, 20 May 2023 20:16:49 +0000 (21:16 +0100)
committerGitHub <noreply@github.com>
Sat, 20 May 2023 20:16:49 +0000 (20:16 +0000)
commit19dd5aa89af4cc3150ed87f039601f87bc419be7
tree0ecc5cf74c28a87cebb02b7370374eaa5d3b138c
parent30488fa22a8f63753192ae7f1d01665857764e45
gh-104683: Modernise Tools/clinic/ (#104684)

- Make some string interpolations more readable using f-strings or
  explicit parametrisation
- Remove unneeded open() mode specifiers

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Tools/clinic/clinic.py
Tools/clinic/cpp.py