• cclauss's avatar
    Swivel: print(), basestring(), exception changes for Python 3 (#2249) · 55b440f3
    cclauss authored
    * from six.moves import xrange for Python 3
    
    * from __future__ import print_function for Python 3
    
    Also old style exception --> new style exception
    
    * Define basestring for Python 3
    
    Also remove unused import.
    
    * from six import string_types for Python 3
    
    * from __future__ import print_function
    
    * print() --> print('')
    55b440f3
nearest.py 1.83 KB