Modify ↓
Opened 4 years ago
Closed 4 years ago
#13338 closed task (fixed)
Refactor uses of super
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)
Attachments (0)
Change History (2)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changes committed in r17498.
Note:
See TracTickets
for help on using tickets.
Proposed changed in [959ba16289/rjollos.git]. Search using
git grep "super\([^\)]+\)" \*\.py
.