Skip to content

[python-pytrakt] Cleanup: Remove old (python<3.0) super constructor syntax#191

Open
glensc wants to merge 1 commit intomoogar0880:masterfrom
glensc:remove-deprecated-super
Open

[python-pytrakt] Cleanup: Remove old (python<3.0) super constructor syntax#191
glensc wants to merge 1 commit intomoogar0880:masterfrom
glensc:remove-deprecated-super

Conversation

@glensc
Copy link
Contributor

@glensc glensc commented Jan 16, 2022

class C(B):
    def method(self, arg):
        super().method(arg)    # This does the same thing as:
                               # super(C, self).method(arg)

glensc added a commit to glensc/python-pytrakt that referenced this pull request Oct 24, 2022
@glensc
Copy link
Contributor Author

glensc commented Oct 24, 2022

Carried to my fork:

@glensc glensc changed the title Cleanup: Remove old (python<3.0) super constructor syntax [python-pytrakt] Cleanup: Remove old (python<3.0) super constructor syntax Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant