You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pydantic_extra_types/isbn.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
"""The `pydantic_extra_types.isbn` module provides functionality to recieve and validate ISBN.
1
+
"""The `pydantic_extra_types.isbn` module provides functionality to receive and validate ISBN.
2
2
3
-
ISBN (International Standard Book Number) is a numeric commercial book identifier which is intended to be unique. This module provides a ISBN type for Pydantic models.
3
+
ISBN (International Standard Book Number) is a numeric commercial book identifier which is intended to be unique. This module provides an ISBN type for Pydantic models.
4
4
"""
5
5
6
6
from __future__ importannotations
@@ -13,7 +13,7 @@
13
13
14
14
15
15
defisbn10_digit_calc(isbn: str) ->str:
16
-
"""Calc a ISBN-10 last digit from the provided str value. More information of validation algorithm on [Wikipedia](https://en.wikipedia.org/wiki/ISBN#Check_digits)
16
+
"""Calculate the ISBN-10 check digit from the provided str value. More information on the validation algorithm on [Wikipedia](https://en.wikipedia.org/wiki/ISBN#Check_digits)
17
17
18
18
Args:
19
19
isbn: The str value representing the ISBN in 10 digits.
"""Calc a ISBN-13 last digit from the provided str value. More information of validation algorithm on [Wikipedia](https://en.wikipedia.org/wiki/ISBN#Check_digits)
31
+
"""Calc a ISBN-13 last digit from the provided str value. More information on the validation algorithm on [Wikipedia](https://en.wikipedia.org/wiki/ISBN#Check_digits)
32
32
33
33
Args:
34
34
isbn: The str value representing the ISBN in 13 digits.
0 commit comments