관리-도구
편집 파일: fix_getcwd.cpython-311.pyc
� �܋fi � �H � d Z ddlmZ ddlmZ G d� dej � � ZdS )zm Fixer for os.getcwd() -> os.getcwdu(). Also warns about "from os import getcwd", suggesting the above form. � )� fixer_base)�Namec � � e Zd ZdZd� ZdS )� FixGetcwdz� power< 'os' trailer< dot='.' name='getcwd' > any* > | import_from< 'from' 'os' 'import' bad='getcwd' > c �� � d|v r3|d }|� t d|j �� � � � d S d|v r| � |d� � d S t d� � �)N�name�getcwdu)�prefix�badz#import os, use os.getcwd() instead.z,For some reason, the pattern matcher failed.)�replacer r �cannot_convert� ValueError)�self�node�resultsr s �o/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_getcwd.py� transformzFixGetcwd.transform st � ��g����7�#�D��L�L��j���=�=�=�>�>�>�>�>� �w� � �����&L�M�M�M��F��L�M�M�M� N)�__name__� __module__�__qualname__�PATTERNr � r r r r s/ � � � � � ��G� N� N� N� N� Nr r N)�__doc__�lib2to3r �lib2to3.fixer_utilr �BaseFixr r r r �<module>r sv ��� � � � � � � � #� #� #� #� #� #�N� N� N� N� N� �"� N� N� N� N� Nr