Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
babel
/
messages
/
__pycache__
/
File Content:
mofile.cpython-37.opt-1.pyc
B �`$ � @ sR d Z ddlZddlZddlmZmZ ddlmZmZ dZ dZ dd� Zdd d�ZdS ) z� babel.messages.mofile ~~~~~~~~~~~~~~~~~~~~~ Writing of files in the ``gettext`` MO (machine object) format. :copyright: (c) 2013-2021 by the Babel Team. :license: BSD, see LICENSE for more details. � N)�Catalog�Message)� range_type� array_tobytesl �* l �$< c sx t � � i }t| dd�}| �� }t|�}tj}|d|dd� �d }|tkrj|d|dd� �\}}} } d }n4|tkr�|d |dd� �\}}} } d}ntdd|���x�t d|�D �]�}|||| | d � �\} }|| }|||| | d � �\}}|| }||k �r$||k �r$|||� }|||� }ntdd|��| dk�r�d }}xv|� � D ]j}|�� }|�sb�qLd|k�r�|�dd�\}}|�� � � }}|�� ||<