Merge pull request #2421 from timgates42/bugfix_typos

docs: fix a few simple typos
This commit is contained in:
Griatch 2021-05-30 09:15:25 +02:00 committed by GitHub
commit 4f4a0ef479
5 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ on your sources.
## A quick list of code style points
* 4-space indendation, NO TABS!
* 4-space indentation, NO TABS!
* Unix line endings.
* CamelCase is only used for classes, nothing else.
* All non-global variable names and all function names are to be

View file

@ -606,7 +606,7 @@ def cmdhandler(
cmd.raw_string = unformatted_raw_string
# cmd.obj # set via on-object cmdset handler for each command,
# since this may be different for every command when
# merging multuple cmdsets
# merging multiple cmdsets
if hasattr(cmd, "obj") and hasattr(cmd.obj, "scripts"):
# cmd.obj is automatically made available by the cmdhandler.

View file

@ -71,7 +71,7 @@ class SystemNoMatch(COMMAND_DEFAULT_CLASS):
#
# Command called when there were mulitple matches to the command.
# Command called when there were multiple matches to the command.
#
class SystemMultimatch(COMMAND_DEFAULT_CLASS):
"""

View file

@ -577,7 +577,7 @@ class BuildingMenu(object):
keys_go_back = ["@"] # The keys allowing to go back in the menu tree
sep_keys = "." # The key separator for menus with more than 2 levels
joker_key = "*" # The special key meaning "anything" in a choice key
min_shortcut = 1 # The minimum length of shorcuts when `key` is not set
min_shortcut = 1 # The minimum length of shortcuts when `key` is not set
def __init__(
self,

View file

@ -653,7 +653,7 @@ def validate_prototype(
)
)
# recursively traverese prototype_parent chain
# recursively traverse prototype_parent chain
for protstring in make_iter(prototype_parent):
protstring = protstring.lower()