Changeset 2531:790d86018d20 in livinglogic.python.xist

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

Rename constructor argument to minimize name collision with keyword
arguments.

Files:
1 modified

Legend:

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

    r2528 r2531  
    23392339    __metaclass__ = _Attrs_Meta 
    23402340 
    2341     def __init__(self, content=None, **attrs): 
     2341    def __init__(self, _content=None, **attrs): 
    23422342        dict.__init__(self) 
    23432343        # set default attribute values 
     
    23452345            self[key] = value.default.clone() 
    23462346        # set attributes, this might overwrite (or delete) default attributes 
    2347         self.update(content, **attrs) 
     2347        self.update(_content, **attrs) 
    23482348 
    23492349    def __eq__(self, other):