[pypy-svn] r7416 - pypy/trunk/src/pypy/annotation
hpk at codespeak.net
hpk at codespeak.net
Fri Nov 19 11:28:04 CET 2004
Author: hpk
Date: Fri Nov 19 11:28:03 2004
New Revision: 7416
Modified:
pypy/trunk/src/pypy/annotation/model.py
Log:
make SomePBC the class name and SomePrebuiltConstant just
an alias (it really is too long otherwise ...)
Modified: pypy/trunk/src/pypy/annotation/model.py
==============================================================================
--- pypy/trunk/src/pypy/annotation/model.py (original)
+++ pypy/trunk/src/pypy/annotation/model.py Fri Nov 19 11:28:03 2004
@@ -176,13 +176,14 @@
# self.meths = meths # map {python_function: classdef}
-class SomePrebuiltConstant(SomeObject):
+class SomePBC(SomeObject):
"""Stands for a global user instance, built prior to the analysis,
or a set of such instances."""
def __init__(self, prebuiltinstances):
self.prebuiltinstances = prebuiltinstances
self.knowntype = reduce(commonbase,
[x.__class__ for x in prebuiltinstances])
+SomePrebuiltConstant = SomePBC
class SomeImpossibleValue(SomeObject):
More information about the Pypy-commit
mailing list