]> granicus.if.org Git - python/commit
Simplify code in warnings modules (#1935)
authorAlex Gaynor <alex.gaynor@gmail.com>
Sun, 4 Jun 2017 15:34:16 +0000 (11:34 -0400)
committerDonald Stufft <donald@stufft.io>
Sun, 4 Jun 2017 15:34:16 +0000 (11:34 -0400)
commit5de3a64179bafcd440b32849b1129ed1fea47b85
tree24b2ecee4cd200ab94a686756a1ce3082d157c48
parent9f396b605ec03fc5af100222f1b0a9063ac02a0b
Simplify code in warnings modules (#1935)

Metaprogramming a list of attributes was excessive, and made the code less readable and slower.
Lib/warnings.py