관리-도구
편집 파일: stdin.cpython-311.pyc
� �܋f� � � � d Z ddlZn # e$ r dZY nw xY w ddlZn # e$ r dZY nw xY wddlmZ dZegegeegd�Zd� ZdS )z)Monkey-patching for pep8 and pycodestyle.� N)�version)�monkey_patch)�pep8�pycodestyle�allc �� � dt j cxk rdk rn nddlm} |j }n'dt j cxk rdk rn n ddlm} |j }t | D ]}|��||_ � dS )a� Monkey-patch the specified module with the appropriate stdin. On Flake8 2.5 and lower, Flake8 would would monkey-patch ``pep8.stdin_get_value`` for everyone. This avoided problems where stdin might be exhausted. On Flake8 2.6, Flake8 stopped patching ``pep8`` and started monkey-patching ``pycodestyle.stdin_get_value``. On Flake8 3.x, Flake8 has no need to monkey patch either ``pep8`` or ``pycodestyle``. This function accepts three parameters: - pep8 - pycodestyle - all "all" is a special value that will monkey-patch both "pep8" and "pycodestyle". :param str which: The name of the module to patch. :returns: Nothing. :rtype: NoneType )� r )� r r )r )� r )�utilsN)r �version_info� flake8.enginer �stdin_get_value�flake8r �modules)�which�_pep8r r �modules �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/flake8_polyfill/stdin.pyr r s� � �: ��%�.�.�.�.��.�.�.�.�.�/�/�/�/�/�/��/��� �7�'� 0� 0� 0� 0�&� 0� 0� 0� 0� 0� � � � � � ��/���%�.� 1� 1���>��!0����1� 1� ) �__doc__r �ImportErrorr �flake8_polyfillr �__all__r r � r r �<module>r s� �� /� /���K�K�K�K��� � � ��D�D�D������������� � � ��K�K�K����� $� #� #� #� #� #� �� �F��=��+��� ��'1� '1� '1� '1� '1s � ��� �&�&