Skip to content

Commit c8a419e

Browse files
authored
docs: fix-isbn-typos (#337)
1 parent 095255c commit c8a419e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pydantic_extra_types/isbn.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
22
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.
44
"""
55

66
from __future__ import annotations
@@ -13,7 +13,7 @@
1313

1414

1515
def isbn10_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)
1717
1818
Args:
1919
isbn: The str value representing the ISBN in 10 digits.
@@ -28,7 +28,7 @@ def isbn10_digit_calc(isbn: str) -> str:
2828

2929

3030
def isbn13_digit_calc(isbn: str) -> str:
31-
"""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)
3232
3333
Args:
3434
isbn: The str value representing the ISBN in 13 digits.

0 commit comments

Comments
 (0)