File: //opt/alt/python311/lib/python3.11/site-packages/redis/commands/__pycache__/helpers.cpython-311.pyc
�
$�;f� � �\ � d dl Z d dlZd dlZd� Zd� Zd� Zd� Zd� Zd� Zd
d �Z d
� Z
d� Zd� ZdS )� Nc �� � t | � � t | t t f� � r| g} nt | � � } n# t
$ r | g} Y nw xY w|r| � |� � | S �N)�iter�
isinstance�bytes�str�list� TypeError�extend)�keys�argss �I/opt/alt/python311/lib/python3.11/site-packages/redis/commands/helpers.py�list_or_argsr s� � � ��T�
�
�
� �d�U�C�L�)�)� ��6�D�D���:�:�D���� � � ��v��������� ����D�����Ks �>A �
A�Ac �p � t | t � � r| � dd� � n| }|dk rdS |S )zAReturn the decoded binary string, or a string, depending on type.�utf-8�replace�nullN)r r �decode)�x�rs r � nativestrr s<