This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dominik V.
Recipients Dominik V., docs@python
Date 2020-04-20.21:15:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587417344.72.0.411751348323.issue40343@roundup.psfhosted.org>
In-reply-to
Content
Right now it contains the following example:

    class Derived(Base):
        def meth(self):
            super(Derived, self).meth()

`super()` without arguments is beneficial for multiple reasons, so it should be used in the example.

Also the paragraph speaks about versions prior 3.0 which seems strange because

1. the page is served at https://docs.python.org/3/faq/programming.html i.e. corresponding to version Python 3
2. Python 2 maintenance has been finally dropped.

The provided example is still useful though, for example in multiple inheritance scenarios (though these are very specific and `super()` of course also works if base classes are compatible). So perhaps it's better left out?
History
Date User Action Args
2020-04-20 21:15:44Dominik V.setrecipients: + Dominik V., docs@python
2020-04-20 21:15:44Dominik V.setmessageid: <1587417344.72.0.411751348323.issue40343@roundup.psfhosted.org>
2020-04-20 21:15:44Dominik V.linkissue40343 messages
2020-04-20 21:15:44Dominik V.create