enthought / enthought/chaco

Consider updating `super` usage

Open
#616 0 comments 0 reactions 0 assignees View on GitHub
type: cleanup
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

On Python 3, `super` can simply be used as `super().method_name(...)` instead of `super(ClassName, self).method_name(*args, **kwargs)`.

Note that these changes are not worth making unless they can be more or less automated using search-and-replace, potentially using regex. It might also make sense to split up the work across multiple PRs instead of making all of the changes at the same time. These changes will need to be carefully vetted to ensure that we're not modifying behavior when modifying the `super` call.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.