1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00

utils/types: Fix typos

This commit is contained in:
Marc Bonnici 2019-06-28 16:31:24 +01:00 committed by setrofim
parent 3435c36b98
commit a5f0521353

View File

@ -170,9 +170,9 @@ def list_or_caseless_string(value):
def list_or(type_):
"""
Generator for "list or" types. These take either a single value or a list
values and return a list of the specfied ``type_`` performing the
values and return a list of the specified ``type_`` performing the
conversion on the value (if a single value is specified) or each of the
elemented of the specified list.
elements of the specified list.
"""
list_type = list_of(type_)
@ -288,7 +288,7 @@ class prioritylist(object):
- ``new_element`` the element to be inserted in the prioritylist
- ``priority`` is the priority of the element which specifies its
order withing the List
order within the List
"""
self._add_element(new_element, priority)