def _pop_none(self, kwargs):
for key, value in copy(kwargs).items():<EOL><INDENT>if value is None or value == ():<EOL><INDENT>kwargs.pop(key)<EOL><DEDENT>if hasattr(value, '<STR_LIT>'):<EOL><INDENT>kwargs[key] = value.read()<EOL><DEDENT><DEDENT>
Remove default values (anything where the value is None). click is unfortunately bad at the way it
        sends through unspecified defaults.