aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-25 09:25:26 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-25 09:25:50 -0400
commitfd48e7ad990c7b67a9ad3bb5ba29cefd2c16e20a (patch)
tree11b0a1dcff23c82f0b85531c0e5d4f834e032910 /doc
parent6f51f6f3573e4f0aae8dc0a8ad9d597ad4899bb1 (diff)
parent0956e46bff7f0b6da65a4de6d4f8261fe9d7055c (diff)
downloadbitcoin-fd48e7ad990c7b67a9ad3bb5ba29cefd2c16e20a.tar.xz
Merge #18585: test: use zero-argument super() shortcut (Python 3.0+)
0956e46bff7f0b6da65a4de6d4f8261fe9d7055c test: use zero-argument super() shortcut (Python 3.0+) (Sebastian Falbesoner) Pull request description: This mini-PR replaces all calls to `super(...)` with arguments with the zero-argument shortcut `super()` where applicable. See [PEP 3135](https://www.python.org/dev/peps/pep-3135/#specification): > The new syntax: > > super() > > is equivalent to: > > super(__class__, <firstarg>) > > where __class__ is the class that the method was defined in, and <firstarg> is > the first parameter of the method (normally self for instance methods, and cls > for class methods). ACKs for top commit: fanquake: ACK 0956e46bff7f0b6da65a4de6d4f8261fe9d7055c Tree-SHA512: 4ac66fe7ab2be2e8a514e5fcfc41dbb298f21b23ebb7b7b0310d704b0b3cef8adf287a8d80346d1ea9418998c597b4f0ff1f66148d0d806bb43db6607e0fe1cf
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions