Skip to content

Commit

Permalink
Document the exemplar option type values
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Feb 1, 2025
1 parent 8b580f5 commit 3e1b993
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion exemplars.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ def get_exemplars(localeID: str, extype: str = "main", option: int = 0) -> List[
Parameters:
localeID (str): The locale identifier.
extype (str): The type of exemplars to retrieve (main, auxiliary, index, punctuation).
option (int): The option for exemplar set.
option (int): The option for exemplar set. Valid options are:
- 0: Default exemplar set
- 2: Case-insensitive exemplar set
- 4: Case-mapping exemplar set
Returns:
List[str]: Sorted list of exemplars.
Expand Down

0 comments on commit 3e1b993

Please sign in to comment.