Ignore:
Timestamp:
Jan 13, 2012 9:17:01 PM (3 years ago)
Author:
alxf
Message:

Add support for python3 to python bindings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/python/caca/dither.py

    r4707 r4802  
    7272 
    7373        if self._dither == 0: 
    74             raise DitherError, "Failed to create dither object" 
     74            raise DitherError("Failed to create dither object") 
    7575 
    7676    def set_palette(self, red, green, blue, alpha): 
     
    8383            alpha   -- array of 256 alpha values 
    8484        """ 
    85         raise DitherError, "Not implemented" 
     85        raise DitherError("Not implemented") 
    8686 
    8787    def set_brightness(self, brightness): 
Note: See TracChangeset for help on using the changeset viewer.