(cls, string)
return cls(items)
Construct a command spec from a simple string representing a command
        line parseable by shlex.split.
Construct a command spec from a simple string representing a command
        line parseable by shlex.split.
Construct a command spec from a simple string representing a command line parseable by shlex . split .
def from_string(cls, string):
        """
        Construct a command spec from a simple string representing a command
        line parseable by shlex.split.
        """
        items = shlex.split(string, **cls.split_args)
        return cls(items)
def from_string ( cls , string ) : items = shlex . split ( string , * * cls . split_args ) return cls ( items )