コード例 #1
0
 def dumpNewObjects(self, event=None):
     '''
     Print a summary of all Python objects created
     since the last time Python's Garbage collector was run.
     '''
     old = g.trace_gc
     g.trace_gc = True
     g.printGcObjects()
     g.trace_gc = old
コード例 #2
0
ファイル: debugCommands.py プロジェクト: Darriall/leo-editor
 def dumpNewObjects(self, event=None):
     '''
     Print a summary of all Python objects created
     since the last time Python's Garbage collector was run.
     '''
     old = g.trace_gc
     g.trace_gc = True
     g.printGcObjects()
     g.trace_gc = old
コード例 #3
0
 def dumpNewObjects(self, event=None):
     """
     Print a summary of all Python objects created
     since the last time Python's Garbage collector was run.
     """
     g.printGcObjects()