fix docstrings

This commit is contained in:
Clinton Hall 2024-03-01 15:20:52 +13:00 committed by GitHub
commit 300fd91dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,7 @@ class Episode(Video):
:param bool original_series: whether the series is the first with this name. :param bool original_series: whether the series is the first with this name.
:param int tvdb_id: TVDB id of the episode. :param int tvdb_id: TVDB id of the episode.
:param list alternative_series: alternative names of the series :param list alternative_series: alternative names of the series
:param \*\*kwargs: additional parameters for the :class:`Video` constructor. :param **kwargs: additional parameters for the :class:`Video` constructor.
""" """
def __init__(self, name, series, season, episodes, title=None, year=None, country=None, original_series=True, def __init__(self, name, series, season, episodes, title=None, year=None, country=None, original_series=True,
@ -218,7 +218,7 @@ class Movie(Video):
:param country: Country of the movie. :param country: Country of the movie.
:type country: :class:`~babelfish.country.Country` :type country: :class:`~babelfish.country.Country`
:param list alternative_titles: alternative titles of the movie :param list alternative_titles: alternative titles of the movie
:param \*\*kwargs: additional parameters for the :class:`Video` constructor. :param **kwargs: additional parameters for the :class:`Video` constructor.
""" """
def __init__(self, name, title, year=None, country=None, alternative_titles=None, **kwargs): def __init__(self, name, title, year=None, country=None, alternative_titles=None, **kwargs):