Skip to content

Commit 2f2cff0

Browse files
committed
fix typo, docs clarification
1 parent 30b2efa commit 2f2cff0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/customize.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ The other is the ``C`` attribute of a ``HumanName`` instance, e.g.
3131
>>> hn.C
3232
<Constants() instance>
3333

34-
This is usually a reference to the module's shared
34+
Both places are usually a reference to the same shared module-level
3535
:py:class:`~nameparser.config.Constants` instance, depending on how you
36-
instantiate the :py:class:`~nameparser.parser.HumanName` class.
36+
instantiate the :py:class:`~nameparser.parser.HumanName` class (see below).
3737

3838
Take a look at the :py:mod:`nameparser.config` documentation to see what's
3939
in the constants. Here's a quick walk through of some examples where you

nameparser/parser.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,11 @@ def parse_full_name(self):
335335
The main parse method for the parser. This method is run upon assignment to the
336336
:py:attr:`full_name` attribute or instantiation.
337337
338-
Basic flow is the hand off to :py:func:`pre_process` to handle nicknames. It
338+
Basic flow is to hand off to :py:func:`pre_process` to handle nicknames. It
339339
then splits on commas and chooses a code path depending on the number of commas.
340340
:py:func:`parse_pieces` then splits those parts on spaces and
341-
:py:func:`join_on_conjunctions` joins any pieces next to conjunctions. """
341+
:py:func:`join_on_conjunctions` joins any pieces next to conjunctions.
342+
"""
342343

343344
self.title_list = []
344345
self.first_list = []

0 commit comments

Comments
 (0)