<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_gzip(content, abspath):
 """Write binary content to gzip file. **中文文档** 将二进制内容压缩后编码写入gzip压缩文件。 """

    with gzip.open(abspath, "wb") as f:
        f.write(content)