From 75e8940a43931ddc61c44c7be765020830fd38da Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 22 Oct 2024 18:29:24 +0200 Subject: [PATCH] object --- rwx/__init__.py | 4 ++-- rwx/sw/freetube/artists.py | 4 ++-- rwx/sw/freetube/playlists.py | 4 ++-- rwx/sw/freetube/profiles.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rwx/__init__.py b/rwx/__init__.py index 50c7cbe..3dbfd68 100644 --- a/rwx/__init__.py +++ b/rwx/__init__.py @@ -5,8 +5,8 @@ __version__ = "0.0.1" from os import linesep -class Class: - """Root class.""" +class Object: + """Root object.""" def __repr__(self) -> str: """Return machine-readable state. diff --git a/rwx/sw/freetube/artists.py b/rwx/sw/freetube/artists.py index 8100fba..7c32f47 100644 --- a/rwx/sw/freetube/artists.py +++ b/rwx/sw/freetube/artists.py @@ -1,9 +1,9 @@ """FreeTube artists.""" -from rwx import Class +from rwx import Object -class Artist(Class): +class Artist(Object): """FreeTube artist.""" def __init__(self, uid: str, name:str) -> None: diff --git a/rwx/sw/freetube/playlists.py b/rwx/sw/freetube/playlists.py index 4183336..f4b17de 100644 --- a/rwx/sw/freetube/playlists.py +++ b/rwx/sw/freetube/playlists.py @@ -1,11 +1,11 @@ """FreeTube playlists.""" -from rwx import Class +from rwx import Object from .videos import Video -class Playlist(Class): +class Playlist(Object): """FreeTube playlist.""" def __init__(self, uid: str, name: str) -> None: diff --git a/rwx/sw/freetube/profiles.py b/rwx/sw/freetube/profiles.py index ffb0adc..e164296 100644 --- a/rwx/sw/freetube/profiles.py +++ b/rwx/sw/freetube/profiles.py @@ -1,11 +1,11 @@ """FreeTube profiles.""" -from rwx import Class +from rwx import Object from .channels import Channel -class Profile(Class): +class Profile(Object): """FreeTube profile.""" def __init__(self, uid: str, name: str) -> None: