8000 Get rid of `metaclass` by Montana · Pull Request #13 · percolate/redset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Get rid of metaclass #13

New issue

Have a question about this pr 8000 oject? 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

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

Get rid of metaclass #13

wants to merge 1 commit into from

Conversation

Montana
Copy link
@Montana Montana commented Jan 16, 2025

Replaced abc.ABCMeta and object base class with the simpler ABC class from abc module

Modern Python uses ABC instead of setting metaclass explicitly.

No need to inherit from object in Python 3 (it's the default.)