<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def obj2bytes(obj, pk_protocol=py23.pk_protocol):
 """Convert arbitrary pickable Python Object to bytes. **中文文档** 将可Pickle化的Python对象转化为bytestr """

    return pickle.dumps(obj, protocol=pk_protocol)