Lines Matching refs:list
31 # defines 'sub_commands' as a class attribute; it's a list of
199 # force it into conformance (eg. if we expect a list but have a string,
205 # a list of strings.
224 r"""Ensure that 'option' is a list of strings. If 'option' is
235 if isinstance(val, list):
241 "'%s' must be a list of strings (got %r)"
285 # Option_pairs: list of (src_option, dst_option) tuples
318 'sub_commands' class attribute: each tuple in that list may include
320 run for the current distribution. Return a list of command names.
389 elif not isinstance(infiles, (list, tuple)):
391 "'infiles' must be a string, or a list or tuple of strings")