<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _filter_none(items):
 """Filter special placeholder value, preserves sequence type."""

    type_ = list if isinstance(items, list) else tuple
    return type_(filter(_not_none, items))