Simplify code in warnings modules (#1935) · pythoncapi/cpython@5de3a64 · GitHub
Skip to content

Commit 5de3a64

Browse files
alexdstufft
authored andcommitted
Simplify code in warnings modules (python#1935)
Metaprogramming a list of attributes was excessive, and made the code less readable and slower.
1 parent 9f396b6 commit 5de3a64

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Lib/warnings.py

Lines changed: 7 additions & 3 deletions

0 commit comments

Comments
 (0)