File Explorer

/proc/thread-self/root/proc/thread-self/root/usr/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_basestring.py320 B · 15 lines
"""Fixer for basestring -> str."""# Author: Christian Heimes # Local importsfrom .. import fixer_basefrom ..fixer_util import Name class FixBasestring(fixer_base.BaseFix):    BM_compatible = True     PATTERN = "'basestring'"     def transform(self, node, results):        return Name("str", prefix=node.prefix)