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

make Cut implicitly inherit an "object" #1

Open
wants to merge 1 commit into
base: patch-1
Choose a base branch
from

Conversation

kehrazy
Copy link
Owner

@kehrazy kehrazy commented Apr 10, 2023

we should have the base class in the class Cut(object) - even if Python implicitly does that already.

class Foo:
    pass


class Bar(Foo):
    pass

vs:

class Foo(object):
    pass


class Bar(Foo):
    pass

seems to be much cleaner.

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