Skip to content

Commit

Permalink
add 'Isbn' class
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Jun 2, 2020
1 parent 43433bd commit f9426c9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions isbnlib/_isbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@

import logging as _logging

from ._core import to_isbn10, EAN13
from ._exceptions import NotValidISBNError

from ._core import (
to_isbn10,
EAN13,
)
from ._ext import mask, info, doi

LOGGER = _logging.getLogger(__name__)
Expand Down Expand Up @@ -39,9 +35,6 @@ def __init__(self, isbnlike):
self.info = info(self.ean13)
self.issued = len(mask(self.ean13)) > 0

def __getattr__(self, attr):
return self[attr]

def __str__(self):
return str(vars(self))

Expand Down

0 comments on commit f9426c9

Please sign in to comment.