Changeset 193

Show
Ignore:
Timestamp:
04/21/08 08:16:09 (9 months ago)
Author:
tal
Message:
Implemented the clear method.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • packages/defcon/trunk/Lib/defcon/objects/uniData.py

    r144 r193  
    120120 
    121121    def clear(self): 
    122         raise NotImplementedError 
     122        """ 
     123        This will completely clear all stored data. 
     124        This should be done with extreme care under 
     125        very controlled circumstances. 
     126        """ 
     127        self._dict.clear() 
     128        self._forcedUnicodeToGlyphName.clear() 
     129        self._glyphNameToForcedUnicode.clear() 
    123130 
    124131    def update(self, other):