Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lk101101 committed Jul 21, 2024
1 parent 4830da2 commit cd4274d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions names.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_formatted_nationality(last_name):
input:
last_name: string
output:
list containing formatted nationality predictions or error message
list containing formatted nationality predictions or error message as tuples
"""
nationalize_output = nationalize(last_name)

Expand All @@ -245,7 +245,8 @@ def genderize(name):
input:
name: string
output:
string containing predicted gender or error message
tuple containing predicted gender or error message
and probability
"""

try:
Expand Down

0 comments on commit cd4274d

Please sign in to comment.