Commit a9b58e1
committed
[
Remove the `Expr::Attribute` matching for the second parameter in
`super`. The UP008 does not care when it's an Attribute, the only cases
are:
- super(MyClass, self)
- super(OuterClass.InnerClass, self)
Which is always an `Expr::Name`pyupgrade] remove unecessary Expr::Attribute match1 parent ff11db4 commit a9b58e1
1 file changed
Lines changed: 7 additions & 4 deletions
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
| 133 | + | |
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| |||
0 commit comments