[pypy-svn] r9538 - pypy/dist/pypy/annotation
pedronis at codespeak.net
pedronis at codespeak.net
Tue Mar 1 14:25:51 CET 2005
Author: pedronis
Date: Tue Mar 1 14:25:51 2005
New Revision: 9538
Modified:
pypy/dist/pypy/annotation/classdef.py
Log:
fix assertion
Modified: pypy/dist/pypy/annotation/classdef.py
==============================================================================
--- pypy/dist/pypy/annotation/classdef.py (original)
+++ pypy/dist/pypy/annotation/classdef.py Tue Mar 1 14:25:51 2005
@@ -48,8 +48,8 @@
self.cls = cls
self.subdefs = {}
assert (len(cls.__bases__) <= 1 or
- cls.__bases__[1:] == (object,), # for baseobjspace.Wrappable
- "single inheritance only right now: %r" % (cls,))
+ cls.__bases__[1:] == (object,) # for baseobjspace.Wrappable
+ ), "single inheritance only right now: %r" % (cls,)
if cls.__bases__:
base = cls.__bases__[0]
else:
More information about the Pypy-commit
mailing list