isbn_cleanse()
Internal utilities for pyisbn.
pyisbn
Check ISBN is a string, and passes basic sanity checks.
isbn (TIsbn (str)) – SBN, ISBN-10 or ISBN-13
TIsbn
str
checksum (bool) – True if isbn includes checksum character
bool
True
isbn
ISBN with hyphenation removed, including when called with a SBN
TypeError – isbn is not a str type
IsbnError – Incorrect length for isbn
IsbnError – Incorrect SBN or ISBN formatting