-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
C-pyPython BindingsPython BindingsE-easyAn easy issue to implement or PR to reviewAn easy issue to implement or PR to review
Description
Feature and motivation
I upgraded most things to python 3.7+ however there are still some references using their parent by direct name, this has a few caveats (most importantly gets in the way of MRO and doesn't lend itself to co-operative multi-inheritance, albeit it that is a small potential use case):
- Update all references using
SomeParentClass.__init__(...)
to instead usesuper().__init__(...)
Usage example
Here is one example:
service.Service.__init__(self, executable_path, port=port, env=env, start_error_message=start_error_message) |
Should be able to find using some sort of grep -ir /py .*\.__init__
(or similar)
Metadata
Metadata
Assignees
Labels
C-pyPython BindingsPython BindingsE-easyAn easy issue to implement or PR to reviewAn easy issue to implement or PR to review