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_standarderror.py449 B · 19 lines
# Copyright 2007 Google, Inc. All Rights Reserved.# Licensed to PSF under a Contributor Agreement. """Fixer for StandardError -> Exception.""" # Local importsfrom .. import fixer_basefrom ..fixer_util import Name  class FixStandarderror(fixer_base.BaseFix):    BM_compatible = True    PATTERN = """              'StandardError'              """     def transform(self, node, results):        return Name("Exception", prefix=node.prefix)