示例#1
0
文件: monitor.py 项目: yanxg/spyder
 def get_source(self, objtxt):
     """Get object source"""
     obj, valid = self._eval(objtxt)
     if valid:
         return getsource(obj)
示例#2
0
 def get_source(self, objtxt):
     """Get object source"""
     obj, valid = self._eval(objtxt)
     if valid:
         return getsource(obj)