File: //usr/local/CyberCP/lib64/python3.10/site-packages/proto/__pycache__/_package_info.cpython-310.pyc
o
�hr � @ s d dl Z d dlmZ dd� ZdS )� N)�Marshalc C sb t j�|�d��}t|t�r|jnd}t|dt� �}t|d|r!|nd�}tt|d|�d�}||fS )a� Return the package and marshal to use.
Args:
name (str): The name of the new class, as sent to ``type.__new__``.
attrs (Mapping[str, Any]): The attrs for a new class, as sent
to ``type.__new__``
Returns:
Tuple[str, ~.Marshal]:
- The proto package, if any (empty string otherwise).
- The marshal object to use.
�
__module__� �__protobuf__�package�_default_package�marshal)�name)�sys�modules�get�hasattr�__name__�getattr�objectr )r �attrs�module�module_name�proto_moduler r � r �F/usr/local/CyberCP/lib/python3.10/site-packages/proto/_package_info.py�compile s �r )r
�
proto.marshalr r r r r r �<module> s