Skip to content

Commit

Permalink
Fix up doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Apr 18, 2023
1 parent 0b7a399 commit c464a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/phonenumbers/asyoutypeformatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(self, region_code):
Arguments:
region_code -- The region where the phone number is being entered
Return an AsYouTypeFormatter} object, which could be used to format
Return an AsYouTypeFormatter object, which could be used to format
phone numbers in the specific region "as you type"
"""
self._clear()
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/phonenumberutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -1460,8 +1460,8 @@ def format_out_of_country_calling_number(numobj, region_calling_from):
def format_in_original_format(numobj, region_calling_from):
"""Formats a phone number using the original phone number format
(e.g. INTERNATIONAL or NATIONAL) that the number is parsed from, provided
that the number has been parsed with parse_and_keep_raw_input. Otherwise the
number will be formatted in NATIONAL format.
that the number has been parsed with parse(.., keep_raw_input=True).
Otherwise the number will be formatted in NATIONAL format.
The original format is embedded in the country_code_source field of the
PhoneNumber object passed in, which is only set when parsing keeps the raw
Expand Down

0 comments on commit c464a74

Please sign in to comment.