Ignore:
Timestamp:
05/08/07 16:38:29 (7 years ago)
Author:
xi
Message:

Allow for immutable subclasses of YAMLObject. Fixes #53.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/lib/yaml/__init__.py

    r223 r252  
    266266 
    267267    __metaclass__ = YAMLObjectMetaclass 
     268    __slots__ = ()  # no direct instantiation, so allow immutable subclasses 
    268269 
    269270    yaml_loader = Loader 
Note: See TracChangeset for help on using the changeset viewer.