comparison: ThirdParty/Send2Trash/send2trash/compat.py
ThirdParty/Send2Trash/send2trash/compat.py
- changeset 3644
- a2c88b9b1d16
- child 4555
- 861e1741985c
equal
deleted
inserted
replaced
|
1 # Copyright 2013 Hardcoded Software (http://www.hardcoded.net) |
|
2 |
|
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 |
|
5 # http://www.hardcoded.net/licenses/bsd_license |
|
6 |
|
7 import sys |
|
8 if sys.version < '3': |
|
9 text_type = unicode |
|
10 binary_type = str |
|
11 else: |
|
12 text_type = str |
|
13 binary_type = bytes |