def parsestr(self, argstr):
argv = shlex.split(argstr, comments=True)<EOL>if len(argv) != self.nargs:<EOL><INDENT>raise BadNumberOfArguments(self.nargs, len(argv))<EOL><DEDENT>return self.parse(argv)<EOL>
Parse arguments found in settings files.

        argstr is the string that should be parsed. Use e.g. '""' to pass an
        empty string.

        if self.nargs > 1 a list of parsed values will be returned.

        NOTE: formats with nargs == 0 or None probably want to override this 
        method.