Commit 0cf6617
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 0cf6617
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| 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 | 138 | | |
137 | 139 | | |
138 | | - | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
0 commit comments