File: compat.py

package info (click to toggle)
task 2.5.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,588 kB
  • ctags: 8,723
  • sloc: cpp: 36,161; python: 11,324; perl: 8,697; ansic: 7,400; sh: 673; makefile: 19
file content (9 lines) | stat: -rw-r--r-- 139 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-

try:
    STRING_TYPE = basestring
except NameError:
    # Python 3
    STRING_TYPE = str

# vim: ai sts=4 et sw=4