def __init__(self, session, manga_id):
    """Creates a new instance of Manga.

    :type session: :class:`myanimelist.session.Session`
    :param session: A valid MAL session
    :type manga_id: int
    :param manga_id: The desired manga's ID on MAL

    :raises: :class:`.InvalidMangaError`

    """
    if not isinstance(manga_id, int) or int(manga_id) < 1:
      raise InvalidMangaError(manga_id)
    super(Manga, self).__init__(session, manga_id)
    self._volumes = None
    self._chapters = None
    self._published = None
    self._authors = None
    self._serialization = None
def __init__ ( self , session , manga_id ) : if not isinstance ( manga_id , int ) or int ( manga_id ) < 1 : raise InvalidMangaError ( manga_id ) super ( Manga , self ) . __init__ ( session , manga_id ) self . _volumes = None self . _chapters = None self . _published = None self . _authors = None self . _serialization = None
Creates a new instance of Manga.

    :type session: :class:`myanimelist.session.Session`
    :param session: A valid MAL session
    :type manga_id: int
    :param manga_id: The desired manga's ID on MAL

    :raises: :class:`.InvalidMangaError`