File: compat.py

package info (click to toggle)
task 2.5.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,576 kB
  • sloc: cpp: 36,161; python: 11,324; perl: 8,697; ansic: 7,400; sh: 673; makefile: 23
file content (9 lines) | stat: -rw-r--r-- 139 bytes parent folder | download | duplicates (15)
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