Opened 3 years ago
Last modified 3 years ago
#13338 closed task
Refactor uses of super — at Version 1
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Refactored uses of |
Description (last modified by )
Python 3 allows super
without args for the case of single inheritance and a simple class hierarchy and MRO. We can refactor the codebase with changes like:
- super(TicketFieldList, self).__init__(*args) + super().__init__(*args)
Note:
See TracTickets
for help on using tickets.
Proposed changed in [959ba16289/rjollos.git]. Search using
git grep "super\([^\)]+\)" \*\.py
.