Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLF4JHandler.__init__ doesn't use super #1

Open
jason-s opened this issue Feb 8, 2017 · 0 comments
Open

SLF4JHandler.__init__ doesn't use super #1

jason-s opened this issue Feb 8, 2017 · 0 comments

Comments

@jason-s
Copy link

jason-s commented Feb 8, 2017

class SLF4JHandler(logging.Handler):

    def __init__(self, logger=None):
        logging.Handler.__init__(self)

Technically, shouldn't this be super(SLF4JHandler, self).__init__() ? I am not an expert on the Python class mechanisms so I'm not sure about the subtleties of the difference.

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

No branches or pull requests

1 participant