docs: fix typos (#5989)

Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
Lioness100
2023-02-13 21:36:09 -05:00
committed by GitHub
parent 9811e4e871
commit a89a27cadf
28 changed files with 43 additions and 43 deletions

View File

@@ -510,7 +510,7 @@ class RedHelpFormatter(HelpFormatterABC):
offset += len(embed_dict["embed"]["title"])
# In order to only change the size of embeds when necessary for this rather
# than change the existing behavior for people uneffected by this
# than change the existing behavior for people unaffected by this
# we're only modifying the page char limit should they be impacted.
# We could consider changing this to always just subtract the offset,
# But based on when this is being handled (very end of 3.2 release)
@@ -519,7 +519,7 @@ class RedHelpFormatter(HelpFormatterABC):
# This is still necessary with the max interaction above
# While we could subtract 100% of the time the offset from page_char_limit
# the intent here is to shorten again
# *only* when necessary, by the exact neccessary amount
# *only* when necessary, by the exact necessary amount
# To retain a visual match with prior behavior.
page_char_limit = 5500 - offset
elif page_char_limit < 250: