Skip to content

Commit

Permalink
Merge branch 'main' into fix-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 authored Jan 12, 2024
2 parents c0272fd + d05c882 commit 5caa73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydantic_extra_types/isbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def isbn10_digit_calc(isbn: str) -> str:
"""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)
Args:
isbn: The ISBN-10 value to calculate the last digit.
isbn: The str value representing the ISBN in 10 digits.
Returns:
The calculated last digit of the ISBN-10 value.
Expand All @@ -32,7 +32,7 @@ def isbn13_digit_calc(isbn: str) -> str:
"""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)
Args:
isbn: The ISBN-13 value to calculate the last digit.
isbn: The str value representing the ISBN in 13 digits.
Returns:
The calculated last digit of the ISBN-13 value.
Expand Down

0 comments on commit 5caa73e

Please sign in to comment.