~ubuntu-branches/ubuntu/karmic/pypy/karmic

« back to all changes in this revision

Viewing changes to pypy/module/gc/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Alexandre Fayolle
  • Date: 2007-04-13 09:33:09 UTC
  • Revision ID: james.westby@ubuntu.com-20070413093309-yoojh4jcoocu2krz
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from pypy.interpreter.mixedmodule import MixedModule
 
2
    
 
3
class Module(MixedModule):
 
4
    appleveldefs = {
 
5
        'enable': 'app_gc.enable',
 
6
        'disable': 'app_gc.disable',
 
7
        'isenabled': 'app_gc.isenabled',
 
8
    }
 
9
    interpleveldefs = {
 
10
        'collect': 'interp_gc.collect',
 
11
        'estimate_heap_size': 'interp_gc.estimate_heap_size',
 
12
    }