Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def snapshot():
    snapshot_objects.clear()
    gc.collect()
    snapshot_objects.update(id(o) for o in gc.get_objects())
        


src/d/r/drainhunter-0.2/drainhunter/django/views.py   drainhunter(Download)
from django.core.urlresolvers import reverse
 
from drainhunter import snapshot, group_by_class
import drainhunter.web
 
def take_snapshot(request):
    snapshot()
 
    return HttpResponseRedirect(reverse('drainhunter-index'))