commit | 92a6c170e6897ee98c36a3a9087b1a7d3e054d2b | [log] [tgz] |
---|---|---|
author | Eric Snow <ericsnowcurrently@gmail.com> | Mon Sep 05 14:50:11 2016 -0700 |
committer | Eric Snow <ericsnowcurrently@gmail.com> | Mon Sep 05 14:50:11 2016 -0700 |
tree | 59cbc717ac59e802529bc3ad4e61de161b66ac68 | |
parent | 45659861380a9cd9e41ea002d4de92519ffb3422 [diff] [blame] |
Issue #24254: Preserve class attribute definition order.
diff --git a/Lib/typing.py b/Lib/typing.py index 5573a1f..5f451b0 100644 --- a/Lib/typing.py +++ b/Lib/typing.py
@@ -1301,6 +1301,7 @@ if (not attr.startswith('_abc_') and attr != '__abstractmethods__' and attr != '_is_protocol' and + attr != '__definition_order__' and attr != '__dict__' and attr != '__args__' and attr != '__slots__' and