Fix typos in comments

This commit is contained in:
Zac-HD 2019-03-31 14:22:30 +11:00
parent 278b289f37
commit 38d687f7c7
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ class ParameterSet(namedtuple("ParameterSet", "values, marks, id")):
) )
else: else:
# empty parameter set (likely computed at runtime): create a single # empty parameter set (likely computed at runtime): create a single
# parameter set with NOSET values, with the "empty parameter set" mark applied to it # parameter set with NOTSET values, with the "empty parameter set" mark applied to it
mark = get_empty_parameterset_mark(config, argnames, func) mark = get_empty_parameterset_mark(config, argnames, func)
parameters.append( parameters.append(
ParameterSet(values=(NOTSET,) * len(argnames), marks=[mark], id=None) ParameterSet(values=(NOTSET,) * len(argnames), marks=[mark], id=None)
@ -152,7 +152,7 @@ class Mark(object):
:type other: Mark :type other: Mark
:rtype: Mark :rtype: Mark
combines by appending aargs and merging the mappings combines by appending args and merging the mappings
""" """
assert self.name == other.name assert self.name == other.name
return Mark( return Mark(