Skip to content

Commit b4fca52

Browse files
committed
Update usage.rst
update documentation
1 parent eb001e9 commit b4fca52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Initials Support
181181

182182
The HumanName class can try to get the correct representation of initials.
183183
Initials can be tricky as different format usages exist.
184-
If you want to exclude on of the name parts from the initials, you can use the initials format by chainging
184+
To exclude any of the name parts from the initials, change the initials format string:
185185
:py:attr:`~nameparser.config.Constants.initials_format`
186186
Three attributes exist for the format, `first`, `middle` and `last`.
187187

@@ -207,7 +207,7 @@ Furthermore, the delimiter for the string output can be set through:
207207
>>> HumanName("Doe, John A. Kenneth, Jr.", initials_format="{first}{middle}{last}).initials()
208208
"J.A.K.D."
209209

210-
If you want to receive a list representation of the initials, yo ucan use :py:meth:`~nameparser.HumanName.initials_list`.
210+
To get a list representation of the initials, use :py:meth:`~nameparser.HumanName.initials_list`.
211211
This function is unaffected by :py:attr:`~nameparser.config.Constants.initials_format`
212212

213213
.. doctest:: list format

0 commit comments

Comments
 (0)