From 7bbd78acf2615949f09407a0f097fdc9b233469c Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Wed, 5 Oct 2022 14:37:38 -0600 Subject: [PATCH] fix docstring spacing and comments --- evennia/utils/verb_conjugation/pronouns.py | 33 +++++++++++----------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/evennia/utils/verb_conjugation/pronouns.py b/evennia/utils/verb_conjugation/pronouns.py index a83cee853b..6c6de06b1f 100644 --- a/evennia/utils/verb_conjugation/pronouns.py +++ b/evennia/utils/verb_conjugation/pronouns.py @@ -10,21 +10,20 @@ the 3rd person case and back. In some cases, the mapping is not unique; it is as differentiate between the options in some other way. -==================== ======= ======== ========== ========== =========== -viewpoint/pronouns Subject Object Possessive Possessive Reflexive - Pronoun Pronoun Adjective Pronoun Pronoun -==================== ======= ======== ========== ========== =========== -1st person I me my mine myself -1st person plural we us our ours ourselves -2nd person you you your yours yourself -2nd person plural you you your yours yourselves - -3rd person male he him his his himself -3rd person female she her her hers herself -3rd person neutral it it its its itself -3rd person plural they them their theirs themselves -==================== ======= ======== ========== ========== =========== +==================== ======= ======== ========== ========== =========== +viewpoint/pronouns Subject Object Possessive Possessive Reflexive + Pronoun Pronoun Adjective Pronoun Pronoun +==================== ======= ======== ========== ========== =========== +1st person I me my mine myself +1st person plural we us our ours ourselves +2nd person you you your yours yourself +2nd person plural you you your yours yourselves +3rd person male he him his his himself +3rd person female she her her hers herself +3rd person neutral it it its its itself +3rd person plural they them their theirs themselves +==================== ======= ======== ========== ========== =========== """ from evennia.utils.utils import copy_word_case, is_iter @@ -320,9 +319,9 @@ def pronoun_to_viewpoints( Values are - `subject pronoun`/`subject`/`sp` (I, you, he, they) - - `object pronoun`/`object/`/`op` (me, you, him, them) + - `object pronoun`/`object/`/`op` (me, you, him, them) - `possessive adjective`/`adjective`/`pa` (my, your, his, their) - - `possessive pronoun`/`pronoun`/`pp` (mine, yours, his, theirs) + - `possessive pronoun`/`pronoun`/`pp` (mine, yours, his, theirs) gender (str, optional): Specific gender to use (plural counts a gender for this purpose). A gender specified in `options` takes precedence. Values and aliases are: @@ -398,7 +397,7 @@ def pronoun_to_viewpoints( else: viewpoint = target_viewpoint - # step down into the mapping, using differentiators if necessary + # step down into the mapping viewpoint_map = PRONOUN_MAPPING[viewpoint] if pronoun_type in viewpoint_map: