File Explorer

/proc/self/root/proc/thread-self/root/lib64/python3.9/lib2to3/fixes

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

fix_getcwdu.py451 B · 20 lines
"""Fixer that changes os.getcwdu() to os.getcwd()."""# Author: Victor Stinner # Local importsfrom .. import fixer_basefrom ..fixer_util import Name class FixGetcwdu(fixer_base.BaseFix):    BM_compatible = True     PATTERN = """              power< 'os' trailer< dot='.' name='getcwdu' > any* >              """     def transform(self, node, results):        name = results["name"]        name.replace(Name("getcwd", prefix=name.prefix))