Repository navigation
Commit bbd72e5
[astropy#10888] Motivated in part astropy#11094, this removes all use of OrderedDict
from astropy.modeling, which works fine now without it.
_ModelMeta.__prepare__ is no longer necessary since class dicts are
ordered by default by order in the class body.1 parent c869c5a commit bbd72e5
2 files changed
Lines changed: 14 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
| |||
134 | 131 | | |
135 | 132 | | |
136 | 133 | | |
137 | | - | |
| 134 | + | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
| |||
3121 | 3118 | | |
3122 | 3119 | | |
3123 | 3120 | | |
3124 | | - | |
| 3121 | + | |
3125 | 3122 | | |
3126 | 3123 | | |
3127 | 3124 | | |
| |||
3709 | 3706 | | |
3710 | 3707 | | |
3711 | 3708 | | |
3712 | | - | |
3713 | | - | |
| 3709 | + | |
| 3710 | + | |
3714 | 3711 | | |
3715 | 3712 | | |
3716 | 3713 | | |
3717 | 3714 | | |
3718 | 3715 | | |
3719 | 3716 | | |
3720 | 3717 | | |
3721 | | - | |
3722 | | - | |
3723 | | - | |
3724 | | - | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
3725 | 3722 | | |
3726 | | - | |
3727 | | - | |
| 3723 | + | |
| 3724 | + | |
| 3725 | + | |
3728 | 3726 | | |
3729 | 3727 | | |
3730 | 3728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
220 | | - | |
| 219 | + | |
221 | 220 | | |
222 | | - | |
| 221 | + | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
| |||
0 commit comments