示例#1
0
 def write_error(self, text):
     """Simulate stderr"""
     self.flush()
     self.write(text, flush=True, error=True)
     if DEBUG:
         STDERR.write(text)
示例#2
0
文件: shell.py 项目: zhj149/spyder
 def write_error(self, text):
     """Simulate stderr"""
     self.flush()
     self.write(text, flush=True, error=True)
     if DEBUG:
         STDERR.write(text)
示例#3
0
文件: shell.py 项目: wpfeder/spyder
 def write_error(self, text):
     """Simulate stderr"""
     self.flush()
     self.write(text, flush=True, error=True)
     if get_debug_level():
         STDERR.write(text)
示例#4
0
文件: shell.py 项目: cfanpc/spyder
 def write_error(self, text):
     """Simulate stderr"""
     self.flush()
     self.write(text, flush=True, error=True)
     if get_debug_level():
         STDERR.write(text)