ThirdParty/Send2Trash/send2trash/compat.py

changeset 4555
861e1741985c
parent 3644
a2c88b9b1d16
child 5994
cf0b37d2a28d
equal deleted inserted replaced
4554:f3428ddd577c 4555:861e1741985c
1 # Copyright 2013 Hardcoded Software (http://www.hardcoded.net) 1 # Copyright 2013 Hardcoded Software (http://www.hardcoded.net)
2 2
3 # This software is licensed under the "BSD" License as described in the "LICENSE" file, 3 # This software is licensed under the "BSD" License as described in the "LICENSE" file,
4 # which should be included with this package. The terms are also available at 4 # which should be included with this package. The terms are also available at
5 # http://www.hardcoded.net/licenses/bsd_license 5 # http://www.hardcoded.net/licenses/bsd_license
6
7 from __future__ import unicode_literals
6 8
7 import sys 9 import sys
8 if sys.version < '3': 10 if sys.version < '3':
9 text_type = unicode 11 text_type = unicode
10 binary_type = str 12 binary_type = str

eric ide

mercurial