def _get_editor_command(self):
        if 'EDITOR' in self._env:
            return self._env['EDITOR']
        else:
            return compat.default_editor()
dataset/ETHPy150Open awslabs/aws-shell/awsshell/app.py/EditHandler._get_editor_command/original