Changeset 2532:4805b15e501f in livinglogic.python.xist

Show
Ignore:
Timestamp:
05/30/06 22:07:39 (14 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Move Const from ll.xist.xsc to ll.misc and use it for ll.make.nodata too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/xsc.py

    r2531 r2532  
    143143### 
    144144 
    145 class Const(object): 
    146     __slots__ = ("_name") 
    147  
    148     def __init__(self, name): 
    149         self._name = name 
    150  
    151     def __repr__(self): 
    152         return "%s.%s" % (self.__module__, self._name) 
    153  
    154 entercontent = Const("entercontent") 
    155 enterattrs = Const("enterattrs") 
     145entercontent = misc.Const("entercontent") 
     146enterattrs = misc.Const("enterattrs") 
    156147 
    157148